Skip to main content
100%

Activity_7.1

✓ Published0🌍 Public
Rrahman.mehmood2002@gmail.com
Last edited Oct 30, 2024
Created on Oct 30, 2024
Forked from Hello VizHub

This example demonstrates a minimal VizHub project that displays the text "Hello VizHub!" centered on the page. It shows how to load D3.js from a CDN and use ES6 modules for local code organization. The code imports the `select` function from D3, imports a message string from a separate `myMessage.js` module, and sets the text content of a div element. The styling is handled through an external CSS file that centers the text and sets its font size.

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