Reusable scatter plot
✓ Published1🌍 Public
This scatter plot visualizes Walmart sales data, showing the relationship between item price and total sales. The visualization reveals how sales figures correlate with product pricing across different items. The code uses D3 v5's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` functions to map the data from a CSV file to SVG circles, with each circle representing a data point. The chart includes labeled axes for Total Sales and Item Price, along with a descriptive title. The responsive design fills the browser window, and the styling incorporates custom fonts and tick sizes for improved readability.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed