Fork of Nikita's Line Chart
✓ Published0🌍 Public
This line chart visualizes Nykaa stock sales from 2009 to 2022, with years on the x-axis and sales on the y-axis. The D3 v5 code loads CSV data from a GitHub gist, converts the year strings to Date objects, and scales the axes using `scaleTime` and `scaleLinear`. It renders an SVG line path via `line` and adds axis labels and a title using `axisBottom`, `axisLeft`, and appended text elements. Grid lines are created by setting negative tick sizes on both axes.
AI-generated descriptionMIT Licensed