Closed glenflorendo closed 8 months ago
See google slides for more details and examples
When weighing the libraries, I primarily focused on ease of use and flexibility. Additionally, I assumed data sets to be at worst in the low tens of thousands and that each different kind of graph (line graph/bar graph) will be its own re-usable component.
Pros
Cons
Pros
Cons
Pros
Cons
All 3 libraries satisfy the criteria of "easy-to-use" and "flexible" with strong user guides and are highly customizable. However, I would give the upper hand to Nivo due to its ability to better handle large data sets. Nivo offers canvas graphs which are more performant than SVG grpahs as they minimize depth of nodes on the DOM. (potentially a moot point depending on how we parse our payload). Additionally, Nivo is more actively maintained than Recharts and and offers a more active support community. Ultimately, I think Nivo would be safest option between the 3.
@bennyv8 Excellent research and presentation! 💯 As mentioned, let's go forward with your recommendation with Nivo. Looking forward to see your implementation!
User Story
As a user, I want the parking citation data to be presented with visualizations, so that I can clearly and effectively view and analyze the dataset.
Description
We need to make components that will allow us to display our dataset with data visualizations.
For this ticket, the owner will partly conduct a technical spike to compare the different visualization libraries we can use.
Nivo: https://nivo.rocks Recharts: https://recharts.org/en-US Victory: https://formidable.com/open-source/victory/
The owner will use the above (or any other library) to build a horizontal bar chart.
This component will be the foundation for other graphs. It should be easy-to-use and flexible to achieve our design.
It should be able to take in data as props. Please see the API specification document for more information.
Acceptance Criteria
UI
library.Design References
Technical References
Additional Information
No response