Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Chart

Public visualization

D3 Chart

0 stars1🌍 Public
Iikimes
Last edited Sep 24, 2018
Created on Sep 17, 2018
Forked from HTML Cars Report

This example shows a horizontal bar chart of country populations, with bars scaled linearly by population and countries ordered alphabetically along the vertical axis. The chart uses D3 v5’s `csv` loader to parse data.csv, `scaleLinear` and `scaleBand` to map values, and `axisLeft`/`axisBottom` for labeled axes. Rects are appended to an SVG group and filled with steelblue, while the page includes a rotated text label. The data is loaded asynchronously from a CSV file and rendered entirely in SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed