Skip to main content
100%

Fork of Making a Bar Chart

✓ Published0🌍 Public
Sskambhore04
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from Making a Bar Chart

This bar chart displays the top ten products by revenue, with each bar’s length proportional to dollar sales, as sourced from a CSV file. It demonstrates customized D3 axes, including a formatted tick label that abbreviates large numbers and removes unnecessary domain lines. Built with D3 v5, the visualization uses `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisBottom`/`axisLeft` to render SVG elements. The chart’s title and axis label are added via SVG text.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes