Skip to main content
100%

ICE5_LOHITH

✓ Published0🌍 Public
Kkallappareddygari Lohith reddy
Last edited Oct 6, 2025
Created on Oct 6, 2025
Forked from D3 Starter

This example analyzes a songs dataset loaded from a GitHub-hosted CSV file, presenting a summary of row and column counts alongside a preview table of the first five records. A gradient SVG banner introduces the visualization, while the main chart is a bar chart showing average song popularity by genre. Built with D3.js, it uses `d3.csv` for data loading, `d3.group` and `d3.mean` for aggregation, and `d3.scaleBand` with `d3.scaleLinear` to render the axes and bars.

AI-generated description

body { font-family: "Segoe UI", Arial, sans-serif; margin: 16px; background: #fafafa; color: #222; } h1, h2 { color: #3b3b3b; }

.card { background: white; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 16px; margin-bottom: 20px; }

.preview-table { border-collapse: collapse; width: 100%; } .preview-table th, .preview-table td { border: 1px solid #ddd; padding: 8px; } .preview-table th { background: #efefef; } #svgzone svg { display: block; margin: 0 auto; }

MIT Licensed

Similar vizzes