Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8 Task3

Public visualization

Activity8 Task3

0 stars1🌍 Public
MmNamratha25
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This example demonstrates a simple text display that outputs the message “Hello VizHub!” centered on the page. It shows how to load D3.js from a CDN and combine it with local ES6 modules for code organization. The visualization uses D3’s `select` method to target the `#message` div and set its text content, while CSS styles control the font size and alignment. The data source is a static string exported from a separate module, illustrating modular structure within a minimal D3 setup.

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