Skip to main content
100%

activity_6_task2

✓ Published1🌍 Public
Ssanavenkatasurendrareddy@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This example demonstrates a minimal "Hello VizHub!" webpage that uses D3.js to populate a message container and an ES6 module to supply the text content. It loads D3 v5 via a CDN, then imports the `select` function from `d3` and a local `message` constant. The `select('#message').text()` method dynamically sets the HTML element’s text, while a CSS file centers the text at a large font size. The visualization highlights basic integration of external libraries and modular JavaScript in a simple, static output.

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