Skip to main content
100%

ICE 6 : Task 1

✓ Published2🌍 Public
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.

MIT Licensed

Similar vizzes