Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A7_HeatMap

Public visualization

A7_HeatMap

0 stars0🌍 Public
DDuc Pham
Last edited Mar 25, 2024
Created on Mar 25, 2024

This heat map visualizes GDP per capita for eight countries across the years 2017–2021. It uses a sequential color scale with the `d3.interpolateTurbo` interpolator, mapping GDP values to colored cells within a banded grid. The chart is rendered as an SVG using D3 v7, with axes for location and year, a horizontal legend, and tooltips that display the exact GDP value on hover. Data is loaded from a remote CSV file via `d3.csv`.

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