Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a bar chart

Public visualization

Viewing a saved revision (read-only)

20782972c4fe4b2a888b2c819b7e48d1

Fork of Making a bar chart

0 stars0🌍 Public
KKaleb LaBarrie
Last edited Sep 17, 2021
Created on Sep 17, 2021
Forked from Making a bar chart

This bar chart displays the population of ten countries in 2018, using a horizontal layout where bar length encodes population value. The chart is rendered as an SVG using D3 v7, with a linear scale for the x-axis and a band scale for the y-axis. It employs the `csv` function to load data from `data.csv`, `scaleLinear` and `scaleBand` for scales, and `axisLeft` and `axisBottom` for axes. Bars are styled with steelblue via CSS.

AI-generated description