🌍 Public
Area_chart
This area chart visualizes the rising cost of a project from 2014 to 2024, using a filled path with a light green fill and darker stroke to emphasize the upward trend. The chart, built with D3 v6, maps years on the x-axis and costs on the y-axis, rendered as an SVG with axes, labels, and interactive features. Hovering over the data points reveals a tooltip displaying the exact year and cost, implemented via D3 selections and event listeners. The static dataset is embedded directly in the code.
AI-generated descriptionA responsive scatter plot.
MIT Licensed
Comments
Sign in to join the discussion.