Sruj
✓ Published1🌍 Public
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 descriptionBar Chart Visualization
This project creates a simple bar chart using D3.js to visualize sample data.
How to Run
- Open
index.htmlin a web browser - 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