Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task3.2

Public visualization

Viewing a saved revision (read-only)

d3398985b41a46f5ba7ef456f4564f3f

Activity6_Task3.2

0 stars1🌍 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.