Skip to main content
Public

Share visualization

Loading preview…

Activity 6 Task 2

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 Task 2

1
NNithish Karanam
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

This example displays a simple web page that renders the text “Hello VizHub!” in large, centered type. It serves as a minimal demonstration of a basic D3.js setup, showing how to structure a project with separate files for markup, styles, and logic. The code imports the `select` function from D3 v6 to target the `div` with id `message` and sets its text content using the `message` constant exported from an ES6 module. Styles are applied via a linked CSS file, controlling font size and alignment.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed