Skip to main content
100%

Let's make a face with D3.js!

✓ Published2🌍 Public
Jjesramyep1263
Last edited Mar 23, 2020
Created on Mar 20, 2020

This example displays a bar chart of the top 10 most populous countries using D3.js v5, with population values derived from a CSV file and rendered as SVG rectangles. It uses `d3.csv` to load data, `scaleLinear` for the y-axis, and `scaleBand` for the x-axis, along with `axisLeft` and `axisBottom` for labeled ticks. The chart title and axis labels are added via SVG text elements, and the y-axis uses a custom tick formatter via `format` to abbreviate large numbers.

AI-generated description
MIT Licensed

Similar vizzes