๐ Public
Fork of Question_1
This fork of Question_1 shows a horizontal bar chart comparing the populations of ten countries in the year 2000. It uses React with D3 v5 modules such as `scaleBand` and `scaleLinear` to map data from a CSV file loaded via `d3.csv`. The SVG rendering includes bottom and left axes, with a custom tick formatter converting values like "G" to "B" for billions. Tooltips display the formatted population values on hover.
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.