Assignment 2 tutorial
✓ Published0🌍 Public
This example demonstrates how to set up a minimal VizHub project using D3 v5 and ES6 modules. It loads D3 from a CDN via UNPKG, imports the `select` function from the `d3` module, and imports a local `message` variable from a custom ES6 module. The code uses `select('#message')` to update the text content of a div element, and includes a CSS file for styling. The example highlights basic module import patterns and D3 selection methods.
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