Skip to main content
100%

Fork of Bar Chart + Axis customisation

✓ Published1🌍 Public
RRohit-2710
Last edited Feb 25, 2021
Created on Feb 22, 2021

This fork of a D3.js v6 bar chart visualizes population data for 21 countries, using the `d3.csv` loader and `d3.scaleLinear` and `d3.scaleBand` to map population and country names to the SVG canvas. It features customized axes via `d3.axisLeft` and `d3.axisBottom`, with tick labels formatted using `d3.format` to abbreviate large numbers (e.g., "1.44B"). The chart applies a linear gradient fill to the bars and displays a title and axis label, with gridlines removed for a cleaner presentation.

AI-generated description
MIT Licensed

Similar vizzes