Skip to main content
Public

Share visualization

Loading preview…

Fork of D3 base module starter

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

Fork of D3 base module starter

0
Tt0miwa22
Last edited Jan 17, 2023
Created on Jan 17, 2023

This example renders a minimal modular D3 chart using a pre-defined dataset of five axis-value pairs. The code initializes a linear scale with `d3.scaleLinear` and appends a radar chart group to an SVG, though the visualization itself is incomplete. A separate `module.js` file exports a reusable D3 module that appends a text element, with a setter method `my.val1` to control the displayed value. The HTML page loads D3 v7 from unpkg and uses a bundled `bundle.js` file to run the JavaScript.

AI-generated description

Modular baseline using D3

Comments

Sign in to join the discussion.

MIT Licensed