🌍 Public
Viewing a saved revision (read-only)
4df81ab2fee24c29b897519271b1c6c9
Activity_Question 1->2
This example shows a bar chart of population data for the top 20 countries, comparing values from the year 2010. The chart uses a light green color for the bars and features red tick marks on the axes, with a custom Poppins font applied throughout. Built with React and D3 v5, the visualization pulls data from a CSV file hosted on GitHub, parsing and multiplying population values by 1000 for display. The axes are constructed using reusable components that generate tick lines and labels, while the `useData` hook handles asynchronous data loading via D3's `csv` function.
AI-generated description