Skip to main content
Public

Share visualization

Loading preview…

Fork of Assignment 10: B Grade

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 Assignment 10: B Grade

0
AAlark Joshi
Last edited Apr 23, 2022
Created on Apr 23, 2022

This example shows a bar chart of yearly values from a small CSV dataset, displaying four data points from 2015 to 2018. The visualization uses D3 v3’s ordinal scale with rangeRoundBands for the x-axis and a linear scale for the y-axis, rendering bars as SVG rectangles. It employs d3.svg.axis for both axes, with rotated tick labels on the x-axis, and parses dates using d3.time.format. The chart loads data via d3.csv and uses the height–y(val) calculation to size each bar’s height proportionally to its value.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed