Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7.1

Public visualization

Activity 7.1

0 stars1🌍 Public
Bbhavanadupati3@gmail.com
Last edited Nov 6, 2024
Created on Nov 6, 2024
Forked from Hello VizHub

This example demonstrates how to build a simple VizHub project by loading D3 v5 from a CDN and importing local ES6 modules. It displays the text “Hello VizHub!” centered in a large font using the `d3.select` API to set the content of an HTML div element. The code uses `import { select } from 'd3'` and a custom module `myMessage.js` to export the message string, showing basic module composition. The page is styled with a CSS file that centers the message and sets its font size. The visualization is minimal, focusing on tooling and module patterns rather than data rendering.

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