Skip to main content
100%

Activity 6 Task 4

✓ Published0🌍 Public
HHarshita Vairagade
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example demonstrates VizHub’s ability to load D3 via UNPKG and use ES6 modules, displaying the message “Hello VizHub!” in large centered text. The code imports `select` from D3 to target the `#message` div and sets its text from a locally imported `message` constant. It also includes a CSS rule for styling, showcasing how external stylesheets and local module imports integrate with D3 in a minimal HTML page.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes