Activity 6_Question 3_Harini
✓ Published0🌍 Public
This scatter plot visualizes the Items Sales dataset, showing the relationship between Sales_Qty on the x-axis and Sales_Cost on the y-axis, with points colored by Item_Category (Electronics, Cosmetics, and other items). The visualization uses d3.csv to load the data, d3.scaleLinear for both axes, and d3.axisLeft and d3.axisBottom to render the scales. Circles are drawn with SVG elements, colored via a switch statement, and the chart fills the browser window using window.innerWidth and window.innerHeight.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.
MIT Licensed