Skip to main content
Public

Share visualization

Loading preview…

Shapes with SVG and CSS

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

Shapes with SVG and CSS

1
Mmorjyooo
Last edited Jan 24, 2021
Created on Aug 17, 2020
Forked from HTML Starter

The visualization shows a daily count of users over time, displayed as a series of identical, fixed-size square shapes laid out on an SVG canvas. The code reads the date and user count from a local CSV file (123.csv) and uses D3 v5 to create the shapes. It defines time and linear scales for potential coordinate mapping but ultimately places each rectangle with a constant width and height of 200 pixels, without using the data values for sizing or positioning. The rendering relies on D3’s SVG selection and appending methods.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed