Skip to main content
100%

ICE-6-DS-BarGraph

✓ Published0🌍 Public
Mmukundakrishna.r@gmail.com
Last edited Mar 22, 2024
Created on Mar 21, 2024
Forked from Fork of bar plot

This bar graph displays iPhone sales data, showing the sale price for each product name using vertical bars. It uses D3.js v7 to load a CSV file from a GitHub gist and render an SVG chart. The code employs `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.axisBottom` and `d3.axisLeft` for the axes. Rectangles are drawn for each data point, with hover effects changing the bar color to orange.

AI-generated description

An example showing the capabilities of VizHub: to represent the Bar plot for IphoneSales

MIT Licensed

Similar vizzes