Skip to main content
100%

d3 in vanilla javascript

✓ Published1🌍 Public
BBryan Baird
Last edited Jul 2, 2023
Created on Jul 1, 2023
Forked from D3 Starter

This example visualizes malaria deaths per 100,000 people across countries, comparing reported values from the years 2000 and 2001 on logarithmic scales. Circles representing countries are positioned by their death rates, with Angola and Kenya highlighted by larger radii. The code loads data from a CSV using d3.csv, employs scaleLog and extent for scaling, and renders an SVG with d3.select and join to create circle marks. Axes are added via axisLeft and axisBottom.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes