Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js!

Public visualization

Let's make a face with D3.js!

0 stars0🌍 Public
Cchunhonglo
Last edited Dec 21, 2019
Created on Dec 21, 2019
Forked from HTML Starter

This example visualizes country populations as a bar chart with horizontal bars, using a linear scale for population values and a band scale for country names. Built with D3.js v5 in React, it renders SVG elements and includes axes generated by `axisLeft` and `axisBottom`. The code loads data from `data.csv`, parses numeric population values, and appends rectangles with widths proportional to population. Margins and transforms position the chart, while CSS styles the bars in steelblue.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed