Activity - 6_Task - 1
✓ Published0🌍 Public
This bar chart displays population data for 30 countries from the year 2010, sourced from a CSV file loaded via d3.csv. Using React with D3 v5, the visualization maps country names to a d3.scaleBand y-axis and population values to a d3.scaleLinear x-axis. SVG rectangles render the marks, with axis components from local ES6 modules, and formatted tick labels using d3.format. Interactive tooltips appear on hover via SVG title elements.
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