que 1.2 supriya
✓ Published0🌍 Public
This example displays a horizontal bar chart of population data for the top 20 countries from the year 2010, sourced from a CSV file via GitHub. The visualization uses D3 v5’s scaleBand, scaleLinear, and CSV loading utilities within a React framework. Bars are rendered as SVG rectangles with tooltips, while axes are composed from custom React components that map tick values, and the chart includes labeled axes for population and country.
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