Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

let us make a bar chart

Public visualization

Viewing a saved revision (read-only)

957b2704770c494aa541007b9a5163e2

let us make a bar chart

0 stars0🌍 Public
Ddavid-fon
Last edited Dec 6, 2020
Created on Nov 29, 2020
Forked from HTML Starter

This example presents a horizontal bar chart of population figures for ten countries, rendered as an SVG composed of steelblue rectangles on a white canvas. The visualization is built with D3 version 6, using `scaleBand` and `scaleLinear` to map country names and population values to pixel coordinates. Axes are generated with `axisLeft` and `axisBottom`, while the data is loaded from a local CSV file. The chart displays the final ranked list of countries sorted by their population.

AI-generated description

citation以及链接