Skip to main content
100%

Hello D3 Version 6

✓ Published1🌍 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
MIT Licensed

Similar vizzes