Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Nikita's Area Chart

Public visualization

Nikita's Area Chart

0 stars1🌍 Public
Nnikitamakkena
Last edited Mar 28, 2022
Created on Mar 27, 2022

This area chart displays Nykaa’s stock sales from 2009 to 2022, using a smooth curve to show sales trends over time. D3 v5 with SVG renders both a black line for the data and a filled navy area beneath it, with labeled axes for year and sales. The code uses `d3.csv` to load the data, `scaleLinear` for both axes, and `line` and `area` generators with `curveBasis`. Gridlines and tick formatting are applied via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

combined line and area charts

Comments

Sign in to join the discussion.

MIT Licensed