Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task-3

Public visualization

Viewing a saved revision (read-only)

1d861d4b523447dda3d0427a61cc4b20

task-3

0 stars0🌍 Public
HHanuReddy
Last edited Apr 12, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

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 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.