Skip to main content
100%

Let's make a face using D3.js

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

Similar vizzes