Skip to main content
100%

Activity6_Task3.2

✓ Published1🌍 Public
Nnikhithadadi@my.unt.edu
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

This example demonstrates a minimal VizHub setup that renders a static HTML page with a centered text message. It shows how to import D3.js functions and local ES6 modules within a project structure. The code uses `import { select } from 'd3'` to target a DOM element and sets its text content using `select('#message').text()`, while also importing a string from the local `myMessage.js` module. The page loads D3 v5 from a CDN and applies CSS styling to display the message prominently.

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