Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Saffir–Simpson Scale

Public visualization

Viewing a saved revision (read-only)

6dc0f48e6b4845d68aed9d60b729a9a4

Saffir–Simpson Scale

0 stars1🌍 Public
OOlha
Last edited Apr 19, 2022
Created on Apr 19, 2022
Forked from Heatmap with D3

This example visualizes the Saffir–Simpson hurricane scale as a heatmap, presenting intensity categories with color-coded rows based on data from a linked CSV file. The code uses D3 v7 to load the dataset with `d3.csv`, derive column keys from the data, and build an HTML table via `d3.select` and `append`. Each row’s background color is assigned through a `d3.scaleOrdinal` with a custom palette, while cells display the corresponding values. The table structure is generated dynamically, with styling applied directly through D3’s style methods.

AI-generated description