Fork of Activity6_Task1
✓ Published0🌍 Public
This example demonstrates how a minimal web page can load D3.js from a CDN and use ES6 modules to compose a simple message display. It shows the basic structure of a VizHub project, including an HTML file that links external styles and scripts, and a JavaScript file that imports the `select` function from D3 and a local `message` constant. The code uses D3’s `select` method to set the text content of a `<div>` element, with styling applied via CSS. The example serves as a template for combining D3 with modular JavaScript imports.
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