practice5-line chart
✓ Published1🌍 Public
This line chart visualizes temperature readings over a week in San Francisco, using a time-based x-axis and a linear y-axis for temperature. The chart includes labeled axes, grid lines, and a smooth curved line rendered with `d3.line()` and the `curveBasis` interpolation. The code loads CSV data via `d3.csv()`, applies `scaleTime` and `scaleLinear` for scaling, and builds axes with `axisBottom` and `axisLeft`. The SVG output is styled with CSS, featuring a maroon stroke for the path and a title, with data from the temperature-in-san-francisco dataset.
AI-generated descriptionThis scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.
MIT Licensed