Skip to main content
100%

Make a bar chart

✓ Published1🌍 Public
PPulkit Rohilla
Last edited Sep 26, 2019
Created on Sep 26, 2019
Forked from Make a bar chart

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 description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes