Skip to main content
100%

[A4] Daily Average Temp Readings from Alabama in January (Histogram)

✓ Published0🌍 Public
Cctan13@dons.usfca.edu
Last edited Feb 21, 2024
Created on Feb 21, 2024
Forked from HTML Starter

This example shows a histogram of daily average temperature readings from Alabama in January, with temperature on the x-axis and the count of readings per bin on the y-axis. The visualization uses D3 v7’s `d3.csv` to load data from a GitHub Gist, `d3.histogram()` to bin the temperature values, and `d3.scaleLinear` along with `d3.axisBottom` and `d3.axisLeft` to render the SVG axes. Gray bars fill each bin, and hovering over a bar turns it orange while displaying the count as a text tooltip.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes