Skip to main content
100%

Introduction to D3

✓ Published0🌍 Public
OOghenemaro Anuyah
Last edited Mar 28, 2021
Created on Mar 26, 2021
Forked from HTML Starter

This example presents a bar chart of country populations using a simple SVG and a small dataset. Built with D3 v6, it loads population data from a CSV file and renders a horizontal bar chart. The code uses `d3.scaleLinear` for the quantitative x-axis, `d3.scaleBand` for categorical y-axis, and `d3.axisLeft` with `d3.axisBottom` to draw chart axes. The visualization demonstrates basic D3 syntax for data binding, scaling, and SVG element creation.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes