Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Activity 6

0 stars1🌍 Public
Ppraneeth.d555@gmail.com
Last edited Oct 17, 2024
Created on Oct 17, 2024

This visualization demonstrates how to set up a simple D3.js project within the VizHub environment. The example shows a basic web page that displays a large "Hello VizHub!" message using D3's `select` function to target the `#message` div. It illustrates importing both the D3 library via UNPKG and local ES6 modules, with the text content defined in `myMessage.js`. The code also includes CSS styling to center the text with a large 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.

Comments

Sign in to join the discussion.

MIT Licensed