Skip to main content
100%

Activity 6_Question3

✓ Published0🌍 Public
DDeekshitha Annreddy
Last edited Oct 25, 2024
Created on Oct 25, 2024
Forked from Activity 6

This scatter plot visualizes the relationship between Value X and Value Y across eight categories (A–H) using a dataset loaded from a CSV file. The visualization employs D3.js scales and axes to map data points, with each circle colored by category using `d3.scaleOrdinal` and `d3.schemeCategory10`. The SVG rendering includes labeled axes for both dimensions, with point positions determined by `d3.scaleLinear` domains. Data is loaded asynchronously via `d3.csv` with `d3.autoType`, and the chart updates its scales after data retrieval.

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