Skip to main content
100%

Activity6_Task3

✓ Published0🌍 Public
Mmaheshchowdaryponnaganti@my.unt.edu
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Hello VizHub

This example renders a scatter plot from the Mall_Customers dataset, visualizing the relationship between petal length and petal width, while encoding species type through circle color. It loads data via `d3.csv` from a GitHub raw URL, then uses `d3.scaleLinear` with `d3.extent` to map values to screen coordinates. The SVG circles are drawn with D3’s data join, and axes are created with `d3.axisLeft` and `d3.axisBottom`. The code also references sepal dimensions and displays axis labels using `svg.append('text')`.

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