Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

question-3

Public visualization

Viewing a saved revision (read-only)

58b3501ac0b842a6840060ba1ef85b23

question-3

0 stars0🌍 Public
Aajaykumarakula00@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example visualizes a scatter plot of height and weight data, with points colored by category using skyblue, lightgreen, and orange. The SVG rendering uses D3 v7 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map the data to axes and draw circles. The code loads data from a GitHub Gist URL and applies a custom parsing function to convert numeric fields. Axis labels are styled with green Times New Roman text, and the plot fills the browser window.

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.