Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Old Faithful HeatMap 01

Public visualization

Viewing a saved revision (read-only)

e35071357505426ca0d3405308d0ed8d

Old Faithful HeatMap 01

0 stars1🌍 Public
OOleJRask
Last edited Dec 3, 2021
Created on Dec 3, 2021

This example shows the Old Faithful dataset as a 2D heatmap, binning eruption duration versus waiting time and coloring cell counts with a green scheme. It uses Vega-Lite’s specification API to define the chart, with `d3.tsv` loading the data. A mousemove listener updates the chart by re-rendering with new maximum bin counts based on the cursor’s x position. The code leverages `vegaEmbed` to render the visualization as SVG.

AI-generated description

A visualization of the Old Faithful Dataset as a 2D HeatMap visualization using Vega-Lite.

Draws from Vega-Lite Example: Table Binned heatmap.