Fork for area chart
✓ Published1🌍 Public
This example visualizes the runs scored by Rohit Sharma from 2007 to 2021, combining a smooth line chart with a filled area beneath it. The SVG rendering uses d3.scaleTime and d3.scaleLinear to map years and run counts, while d3.line and d3.area generators with curveBasis create the curved paths. Axis ticks are formatted with d3.format and styled via CSS classes, with data parsed from a CSV file loaded through d3.csv.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed