Skip to main content
100%

MK Line Chart

✓ Published1🌍 Public
MManeesh Kumar
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from Line Chart

This dark-themed line chart visualizes monthly sales data from January 2023 through December 2024, sourced from a CSV file. Built with D3 v7, the reusable `lineChart()` function renders an SVG path using `d3.line()` with `curveMonotoneX`, along with circles for data points. Interactive tooltips appear on mouse hover via D3 event handlers. The chart includes a programmatic `update()` method that animates transitions for axes and the line when new data is provided.

AI-generated description
MIT Licensed

Similar vizzes