Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity6_Task 3.2

Public visualization

Viewing a saved revision (read-only)

7e5bf702351941d69226d81f8665ee65

Fork of Activity6_Task 3.2

0 stars1🌍 Public
Vvankayalapatimounika2000@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity6_Task 3.1

This example demonstrates a D3.js scatter plot with labeled axes, allowing users to adjust the plot’s state. It loads D3 v7 from UNPKG and uses local ES6 modules for modular code organization. The visualization employs `axisLeft` and `axisBottom` to render axes, with a custom `axes` function that positions labels and tick marks. The rendering is driven by a simple state management system, where user interactions trigger a re-render of the plot, showcasing D3’s `select` and `join` APIs for efficient DOM updates.

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.