Make a bar chart
✓ Published1🌍 Public
This bar chart displays the population of the top five countries from a CSV file, using horizontal bars scaled linearly to population values. The chart renders in SVG and employs d3.csv, d3.scaleBand, d3.scaleLinear, d3.axisLeft, and d3.axisBottom. The y-axis labels show country names, while the x-axis uses tick formatting to abbreviate numbers (e.g., "1.42B"). Axis lines and domain paths are removed, and custom text elements label the chart and axis.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed