Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Question 3_Harini

Public visualization

Viewing a saved revision (read-only)

92663a8d00b44845a54504bef7cc4dda

Activity 6_Question 3_Harini

0 stars0🌍 Public
Kkamarthyharini24@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024

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 description

We are Displaying the IRIS dataset using Scatter plot.