🌍 Public
Chandrika Area chart
This area chart displays annual sales figures from 1998 to 2012, with the filled area emphasizing the sharp peaks in 2010 and 2012. Rendered as an SVG using D3 v6, it employs `d3.area()` to generate the path, `d3.scaleLinear()` for both axes, and `d3.axisBottom()`/`d3.axisLeft()` for ticks. Invisible circles placed at each data point trigger a lightsteelblue tooltip on mouseover, showing the exact year and sales value. The data is hardcoded as an array of objects in the script.
AI-generated descriptionA responsive scatter plot.
MIT Licensed








Comments
Sign in to join the discussion.