Move PDF generation away from the old angular-based data hub
Is your feature request related to a problem? Please describe. All PDF related tasks are still tied to the old data hub, which should be completely obsolete.
Describe the solution you'd like All PDF generation features should be moved to the current data hub. I understand it's quite a bit of work, but it's vital that we maintain a singular codebase for the data hub, or at least remove any dependency on repos that should be deprecated.
Describe alternatives you've considered Continue maintaining two separate repos that function inherently different. Not much of an option really.
Requested Delivery Date: After October
CREATE REUSABLE HIGHLY CUSTOMISABLE CHARTS
- [ ] Line Chart
- [ ] Bar Chart
- [ ] Rectangle Plot
- [ ] Area Chart
- [ ] Pie Chart
- [ ] Bubble Chart
Line Chart Features
- [x] Basic plot
- [x] Labels
- [x] Colours
- [x] Grid
- [x] Line thickness (attribute stroke-width)
- [x] Spline vs Straight
- [x] Axes & Scales
- [x] Linear
- [x] Category
- [x] Time
- [x] Labels
- [x] Prefix & Suffix
- [ ] Legend
- [x] Basic Position
- [ ] Dynamic Position (based on element node)
- [ ] Events
- [ ] Click
- [x] Hover
- [x] Tooltip
- [x] Anchor
Bar Chart Features
- [ ] Basic plot
- [x] Labels
- [x] Colours
- [x] Bar thickness
- [x] Grid
- [ ] Stacked Bar
- [ ] Orientation (Column vs Bar)
- [ ] Highlight
- [ ] Axes & Scales
- [x] Linear
- [x] Category
- [x] Labels
- [x] Prefix & Suffix
- [ ] Legend
- [x] Basic Position
- [ ] Dynamic Position (based on element node)
- [ ] Events
- [ ] Click
- [x] Hover
- [x] Tooltip
Tree Chart Features
- [ ] Basic plot
- [x] Labels
- [x] Colours
- [x] Block dimensions
- [x] Navigation (Forward & Back)
- [ ] Loading indicator
- [ ] Labels
- [x] Prefix & Suffix
- [x] Box labels
- [ ] Detached labels
- [x] Events
- [x] Click
- [x] Hover
- [x] Tooltip
Area Chart Features
- [ ] Basic plot
- [ ] Labels
- [ ] Colours
- [ ] Grid
- [ ] Line thickness
- [ ] Spline vs Straight
- [ ] Axes & Scales
- [ ] Linear
- [ ] Category
- [ ] Time
- [ ] Labels
- [ ] Prefix & Suffix
- [ ] Legend
- [ ] Basic Position
- [ ] Dynamic Position (based on element node)
- [ ] Events
- [ ] Click
- [ ] Hover
- [ ] Tooltip
Pie Chart Features
- [ ] Basic plot
- [ ] Labels
- [ ] Colours
- [ ] Doughnut
- [ ] Labels
- [ ] Prefix & Suffix
- [ ] Detached
- [ ] Inline
- [ ] Legend
- [ ] Basic Position
- [ ] Dynamic Position (based on element node)
- [ ] Events
- [ ] Click
- [ ] Hover
- [ ] Tooltip
Bubble/Scatter Chart Features
- [ ] Basic plot
- [ ] Labels
- [ ] Colours
- [ ] Grid
- [ ] Bubble size
- [ ] Axes & Scales
- [ ] Linear
- [ ] Category
- [ ] Time
- [ ] Labels
- [ ] Prefix & Suffix
- [ ] Legend
- [ ] Basic Position
- [ ] Dynamic Position (based on element node)
- [ ] Events
- [ ] Click
- [ ] Hover
- [ ] Tooltip
RECIPIENT PRINT PAGE UPDATES
- [x] Create building blocks
- [x] Reusable components
- [x] Add narratives to & fetch narratives from CMS
- [x] Section One - Overview
- [x] Narratives
- [x] Statistic boxes
- [x] Line Chart
- [x] Bar Chart
- [x] Section Two - Resource flows to and from country
- [x] Inflows & Outflows chart
- [x] Narratives
- [x] Section Three - Government
- [x] Tree charts (3)
- [x] Narratives
- [ ] Section Four - ODA
- [x] Line charts (2)
- [ ] Narratives
- [ ] Tree chart
- [ ] Vertical Bar chart
- [ ] Section Five - What is aid spent on
- [ ] Vertical Bar chart
- [ ] Narratives
- [ ] Stacked Bar charts
DONOR PRINT PAGE UPDATES
- [ ] Create building blocks
- [ ] Reusable components
- [ ] Add narratives to & fetch narratives from CMS
- [ ] Section One - Resource flows to developing countries
- [ ] Narratives
- [ ] Line Chart
- [ ] Pie Chart
- [ ] Section Two - How much ODA does country give
- [ ] Stacked column chart
- [ ] Narratives
- [ ] Line chart
- [ ] Pie chart ??
- [ ] Section Three - Where do resources from country go?
- [ ] Bar chart (2)
- [ ] Column chart
- [ ] Narratives
- [ ] Section Four - What is in the ODA bundle for country
- [ ] Area charts
- [ ] Narratives
- [ ] Bar chart
- [ ] Pie chart
- [ ] Column chart (2)
- [ ] Section Five - How are resources from country
- [ ] Tree/Rectangle chart (2)
- [ ] Bubble/Scatter chart
- [ ] Narratives
MULTILATERAL PRINT PAGE UPDATES
- [ ] Create building blocks
- [ ] Reusable components
- [ ] Add narratives to & fetch narratives from CMS
- [ ] Section One - Resource flows to developing countries
- [ ] Stacked column chart
- [ ] Narratives
- [ ] Line chart
- [ ] Pie chart (2)
- [ ] Section Two - Resource flows to multilateral
- [ ] Stacked column chart
- [ ] Narratives
- [ ] Line chart
- [ ] Section Three - How much ODA from multilateral spent per sector?
- [ ] Column chart (2)
- [ ] Bar chart
- [ ] Narratives
- [ ] Section Four - How is ODA from multilateral channelled
- [ ] Narratives
- [ ] Bar chart
- [ ] Section Five - How is ODA from multilateral targeted
- [ ] Bubble/Scatter chart
- [ ] Narratives
@Duncan-Knox @k8hughes ... Made a breakdown of what needs to be done on the Donor/Recipient PDF profiles & Multilaterals. As you can see, it's plenty and I could have missed a thing or two. I really want to do this right, but have found myself drifting away from some pretty vital practices in favour of delivery, for example unit & end-to-end testing, and I fear that could be harmful in the future. This is on average a 2 month job, with the bulk of it being taken up building charts that are core to the majority of our visualisations. I intend to build them to be reusable & highly customisable & not simply tied to whatever visualisation I'm currently working on. This change in estimate is the result of a more proper understanding of the underlying tasks.
@edwinmp thank you for the update. Looking forward to the results in-terms of having the highly reusable and customisable charts. This sounds much the stronger option for the mid and long term on the project. From my perspective, we are on the brink of having new DAC data released, meaning that the bulk of the data we are planning to show on the PDFs which has been produced or is about to be produced would be outdated (by definition and as compared to the updates on the digital profiles which will begin to make their way through). This being the case, I wonder @k8hughes if it makes sense to consider publishing the PDFs with the updated 2017 DAC data at some point next year after the automations and front-end work are all set? Otherwise we'll likely be publishing mis-matched data between the PDFs and digital profiles. It would be great to hear further thoughts or discuss in detail. Sorry for the late reply, this notification had fallen into an inbox I had not been used to checking.