Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a face with D3.js

Public visualization

Lets make a face with D3.js

0 stars1🌍 Public
FFilippaNathhorst
Last edited Oct 30, 2019
Created on Oct 30, 2019
Forked from Hello VizHub

A horizontal bar chart displays population data for ten countries, with bars sized by population value and labeled along the y-axis. The example uses D3 v5’s `csv` loader to parse the data, `scaleLinear` and `scaleBand` to map values to positions, and `axisLeft`/`axisBottom` for axes. Bars are rendered as SVG `rect` elements with a steelblue fill, while the x-axis formats large numbers using `d3.format` with a custom suffix replacement.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed