Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Chloropleth

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Fork of Chloropleth

0
Cc_peimann@coloradocollege.edu
Last edited May 15, 2024
Created on May 14, 2024

This visualization pairs a choropleth map with a scatterplot, both driven by a year slider. It uses D3 v6’s `d3.geoEqualEarth` projection and `d3.geoPath` to render world map polygons, colored by life expectancy. The scatterplot places each country as a circle along a horizontal life-expectancy axis. Hovering over a map region or a circle highlights the corresponding element in both views and shows a tooltip with country, life expectancy, and year.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed