Skip to main content
100%

ICE-7 Line Chart Temperature vs Time

✓ Published0🌍 Public
Ttejasviprasad06@gmail.com
Last edited Mar 11, 2023
Created on Mar 10, 2023

This line chart displays temperature over time for Massachusetts, plotting data points from a CSV file on an SVG canvas. The visualization uses d3.scaleTime and d3.scaleLinear to map timestamps and temperature values, with the line generated via d3.line and curveBasis for smoothing. Axes are rendered with d3.axisBottom and d3.axisLeft, including custom tick lines and rotated axis labels. The chart loads external data through d3.csv and applies margin-based layout, showing a single orange line with grid lines and a title.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes