ICE-6
✓ Published0🌍 Public
This example demonstrates how the VizHub platform can load and render a simple D3.js visualization. It uses D3 v5, imported via UNPKG, to manipulate the text content of an HTML element. The code highlights the use of D3’s `select` API to target a DOM node and set its text, while also showcasing the ability to import custom ES6 modules, such as `message.js`, to organize code. The visualization itself is minimal, displaying a centered message in large type, with styling from a local CSS file.
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