Skip to main content
Public

Share visualization

Loading preview…

COURSEWORK 1

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

COURSEWORK 1

0 stars0Public
FFarhaan Qazi
Last edited Feb 19, 2023
Created on Feb 18, 2023
Forked from D3 Starter

This example demonstrates a basic bar chart visualization using D3 version 7. The chart renders a set of bars in an SVG container, styled with a navy fill color, and is generated from a simple data array. The visualization initializes on page load via a main function, using D3’s selection and data-binding methods to create the SVG elements dynamically. The code specifically relies on d3.select and the D3 v7 library to append rectangles and manage the chart’s layout within a 600-by-400 pixel viewport.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed