Assignment 2-Area chart
✓ Published0🌍 Public
This example presents a static area chart of monthly sales counts, using steelblue filled areas to represent sales trends across five months. The chart renders as an SVG in a React application using D3 v7, with categorical month labels on the x-axis via `d3.scaleBand` and a linear sales scale on the y-axis. The area path is generated with the `d3.area` function, while axes are drawn using `d3.axisBottom` and `d3.axisLeft`, with the y-axis explicitly labeled “salesCount”.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed