Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Q2.1

Public visualization

Activity6_Q2.1

0 stars0🌍 Public
LLakshmiDeepikaPagadala@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, displaying the text "Hello VizHub!" centered on the page. It shows how to import D3’s `select` function from the bundled library and a local ES6 module exporting a message string. The code uses `d3.select` to set the text content of a `div` element with the ID `message`. Styling comes from an external CSS file, and the page loads D3 v5 from a CDN via UNPKG.

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.

Comments

Sign in to join the discussion.

MIT Licensed