🌍 Public
Viewing a saved revision (read-only)
ca3a53f2935f469688d76ee9a6502916
Fork of Activity6_Task 3.2
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.