Skip to main content
100%

Activity6-Question3

✓ Published0🌍 Public
LLayaMyadam@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 14, 2024

This scatter plot visualizes product dimensions from a CSV dataset, showing product length on the x-axis and product width on the y-axis. The points are colored by category, with smart devices in red, home furnishings in blue, and kitchen appliances in dark green. The visualization loads data via `d3.csv`, scales the axes with `d3.scaleLinear`, and renders circles and axes using D3 v7’s selection and join methods. The code uses `d3.extent` to set domains and `d3.axisLeft` and `d3.axisBottom` to draw the axes, with labels for each axis.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes