ICE 6 : Task 1
✓ Published2🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed