Skip to main content
Public

Share visualization

Loading preview…

Activity-6 question-1

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity-6 question-1

0 stars1Public
Ssannihitha.k23@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

This example displays a large, centered text message in the browser. It demonstrates basic VizHub project structure by loading D3 from a CDN and importing both the D3 `select` function and a local ES6 module. The code uses `select('#message').text(message)` to update the HTML div’s content, while CSS styling handles the visual layout. The data source is a static string defined in `myMessage.js`.

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