Skip to main content
Public

Share visualization

Loading preview…

ICE 6 : Task 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

ICE 6 : Task 1

2
NNITIN0601
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from HTML Starter

This visualization displays bike sales revenue for the top ten products as a horizontal bar chart. It shows each product's revenue with bars scaled linearly along the x-axis, using a scatter-plot-like grid with vertical gridlines. The React component fetches data from a CSV file using d3.csv and renders the chart as an SVG. It employs d3.scaleBand for the categorical y-axis, d3.scaleLinear for the numeric x-axis, and d3.max to determine the domain. Custom tick labels are drawn for both axes, with separate styling for the text elements.

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