Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face using D3.js

Public visualization

Let's make a face using D3.js

0 stars1🌍 Public
KKanishka33
Last edited Jun 4, 2020
Created on Jun 4, 2020
Forked from HTML Starter

This example visualizes a bar chart of country data from a CSV file, with horizontal bars representing lengths per country. The chart uses D3.js v5 to load the data, scales the lengths linearly, and positions the countries with a band scale. Rectangles are appended to an SVG container, with the chart area offset by margins. The code relies on D3’s `csv`, `scaleLinear`, `scaleBand`, and `select` APIs, and renders directly to SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed