Skip to main content
100%

D3 Heatmap

✓ Published0🌍 Public
DDominic Fernandez
Last edited Feb 25, 2022
Created on Feb 19, 2022
Forked from HTML Starter

This heatmap visualizes the number of Uber rides per month and year, with months on the x-axis, years on the y-axis, and color intensity encoding ride counts. It uses d3.csv to load the dataset, d3.scaleBand for both axes, and d3.scaleSequential with a color interpolator to map counts to cell colors. The SVG is rendered with d3.axisBottom and d3.axisLeft, while cells are drawn as rects. Data is aggregated client-side by parsing timestamps into month-year pairs.

AI-generated description
MIT Licensed

Similar vizzes