Hello VizHub
✓ Published0🌍 Public
A horizontal bar chart displays population estimates for twelve countries, including China, India, and the United States. Using the D3.js library (v5), the bar lengths correspond to population values, with a linear x-scale and a banded y-scale for country names. Axis ticks are formatted to abbreviate numbers, and grid lines extend across the chart. The SVG rendering pulls its data from a local CSV file, and the visualization is updated dynamically via the `d3.csv` promise chain.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed