Fork of Making a line chart
✓ Published0🌍 Public
This example shows a week of hourly temperature readings in San Francisco as a smooth, maroon line chart. The visualization uses D3 v7 to map time and temperature data from a CSV file onto an SVG canvas, with axes, grid lines, and clear labels. The code employs `d3.csv` for data loading, `d3.scaleTime` and `d3.scaleLinear` for scaling, and `d3.axisBottom` and `d3.axisLeft` for rendering axes. It also applies `d3.line` with a `curveBasis` for the smoothed path, and includes styled tick marks and titles.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed