Skip to main content
100%

Lets make a face with D3 js!

✓ Published1🌍 Public
Nnsadath
Last edited Dec 9, 2020
Created on Dec 9, 2020

This example displays a horizontal bar chart of population data for the ten most populous countries, using a linear scale for population values and a band scale for country names. The visualization is rendered as SVG within a React framework, with D3 v6 handling data loading via `csv`, scales via `scaleLinear` and `scaleBand`, and axes via `axisLeft` and `axisBottom`. The bars are styled with steelblue fill, and the chart includes margins and a padded band scale to separate each bar.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes