d3
✓ Published0🌍 Public
This example demonstrates the basic structure of a VizHub project, showing how D3.js can be imported and used to set the text of an HTML element. It loads D3 version 5 from UNPKG and uses the `select` API to update a message, alongside a local ES6 module for the message string. The visualization itself renders simple SVG shapes—a circle, rectangle, and line—with styling provided in CSS.
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.
MIT Licensed