Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello D3 Version 6

Public visualization

Hello D3 Version 6

0 stars1🌍 Public
Lliyaxuanliyaxuan
Last edited Nov 23, 2020
Created on Nov 23, 2020
Forked from Hello D3 Version 6

This example displays a horizontal bar chart comparing the populations of five countries, with countries on the y-axis and population values on the x-axis. It uses D3 version 6’s `csv` to load data from a local file, `scaleLinear` for the value axis, and `scaleBand` for the categorical country axis. The chart renders as SVG, with bars drawn via `rect` elements and axes added using `axisLeft` and `axisBottom`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed