Skip to main content
Public

Share visualization

Loading preview…

Rect with data

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

Rect with data

0
MMaleehak
Last edited Jan 16, 2021
Created on Jan 16, 2021

This example shows a single blue circle centered within a 200-by-200 SVG canvas. The circle has a black stroke and a fill color of #69a3b2, demonstrating basic shape rendering with D3 v5. The code creates an SVG container using `d3.select("#circle").append("svg")`, then appends a circle element with attributes for position, radius, stroke, and fill. Though the title references a rectangle, the visualization actually renders a circle using standard D3 selection and attribute methods.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed