Fork of Temperature in San Francisco Line Chart
✓ Published0🌍 Public
This area chart visualizes a week of temperature readings in San Francisco, with time on the x-axis and temperature on the y-axis. The chart uses a maroon-filled area beneath a smooth curve to emphasize the temperature trend over the week. The code relies on D3 v5’s `scaleTime`, `scaleLinear`, `area`, `curveBasis`, `axisBottom`, and `axisLeft` APIs to construct the SVG rendering. Data is loaded as a CSV from a GitHub gist, with timestamps parsed as dates and temperatures as numbers. Axis grid lines and labels are customized through D3’s tick and padding settings.
AI-generated descriptionThis scatterplot shows data about cars, from [UCI Machine Learning Repository: Auto MPG Data Set] (https://archive.ics.uci.edu/ml/datasets/Auto+MPG).
MIT Licensed