Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
SsowmyaSG
Last edited Jun 11, 2019
Created on Jun 11, 2019
Forked from Making a Bar Chart

This bar chart visualizes sound levels in decibels across six days, with purple bars showing daily measurements. Built with D3 v5, the visualization uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis, with axes generated via `axisLeft` and `axisBottom`. The SVG renderer appends rect elements based on data loaded from a CSV file, while styling is handled through external CSS. The chart demonstrates core D3 data binding and margin-based layout techniques for a straightforward categorical comparison.

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.

MIT Licensed

Similar vizzes