Skip to main content
100%

Untitled

✓ Published0🌍 Public
NNikithakatta30
Last edited May 13, 2023
Created on May 13, 2023
Forked from D3 Starter

This example displays a choropleth world map colored by the reported happiness score from a CSV dataset covering over 80 countries. The visualization loads world topography via TopoJSON, joins it with the tabular data, and maps each country’s score to a sequential blue color scale using `d3.scaleSequential` and `d3.interpolateBlues`. It renders the geographic boundaries as SVG paths through `d3.geoPath` with a Mercator projection. The underlying libraries are D3 v6 and the world-atlas TopoJSON collection.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes