Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Test

Public visualization

Test

0 stars2🌍 Public
OOhayouKaminari
Last edited Feb 21, 2020
Created on Feb 21, 2020
Forked from HTML Starter

This example visualizes survey data on happiness and organizational participation across countries, with each country represented as a colored region on a world map. The visualization shows how varying levels of happiness ("very" or "quite") correlate with activity in different organizations (art, environment, unions, politics, etc.), though it currently only loads and logs the data without rendering the map. The code uses d3.csv to parse the dataset and converts all numeric strings to numbers, while the SVG map is prepared with dark blue sphere and light green country paths that turn red on hover. The implementation relies on d3.v5, React, and TopoJSON (loaded but unused in this snippet).

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed