🌍 Public
Viewing a saved revision (read-only)
1d861d4b523447dda3d0427a61cc4b20
task-3
This scatter plot visualizes the relationship between two numeric variables from a CSV file, with data points colored red or blue based on their group designation. The visualization uses D3.js v7 to load and parse the data, then applies linear scales for both axes. The code constructs an SVG graphic with labeled axes generated through `d3.axisBottom` and `d3.axisLeft`, while circles with a radius of 5 pixels are placed using the `d3.scaleLinear` mappings to represent each data point.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.