Skip to main content
Public

Share visualization

Loading preview…

image of a strawberry cheesecake

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

image of a strawberry cheesecake

1
Ppreethimedipelli@my.unt.edu
Last edited Feb 23, 2025
Created on Feb 23, 2025
Forked from image of a cake

This example draws a strawberry cheesecake using D3.js v7 with SVG shapes. It shows the dessert’s layered structure—a graham cracker crust, creamy filling, red strawberry glaze, and toppings—built from rectangles, ellipses, circles, triangles, and a curved path. The code selects a container div, appends an SVG canvas, and sets attributes like fill colors and stroke widths for each element. D3’s selection and append methods are used to create the simple geometric illustration programmatically.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed