๐ Public
Activity_8_Question-1.2
This bar chart displays the top 20 countries by population in 2010, using a horizontal layout with a linear scale for population and a band scale for country names. The chart is rendered as SVG within a React framework, with D3 v5 managing scales, formatting, and CSV data loading. Axes and marks are built as reusable React components, and each bar includes a native SVG tooltip showing the formatted population value.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed
Comments
Sign in to join the discussion.