Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Chandrika Area chart

Public visualization

Chandrika Area chart

0 stars0🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Q2 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 description

A responsive scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed