Skip to main content
100%

Sruj

✓ Published1🌍 Public
Ssrujana reddy
Last edited Oct 20, 2025
Created on Oct 20, 2025

A bar chart visualizes aggregated annual sales across ten product categories, with data derived from 120 synthetic samples spanning twelve months. The visualization sorts categories by total sales and includes axes, gridlines, and a tooltip for interactivity. Built with D3.js v7, it uses `d3.rollup` to aggregate monthly data, `scaleBand` and `scaleLinear` for positioning, and SVG transitions for hover effects.

AI-generated description

Bar Chart Visualization

This project creates a simple bar chart using D3.js to visualize sample data.

How to Run

  1. Open index.html in a web browser
  2. The bar chart will be displayed with sample data

Features

  • Responsive bar chart with hover effects
  • X and Y axes with labels
  • Chart title
  • Uses D3.js for visualization
MIT Licensed

Similar vizzes