Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
YYamini Malikireddy
Last edited Mar 1, 2026
Created on Mar 1, 2026
Forked from HTML Starter

This dashboard displays AI model data through an interactive bar chart, with summary cards showing the total rows, minimum, average, and maximum values of the selected metric. Users can switch between Parameters (Billions) and Release Year via the metric selector. The visualization uses d3.scaleBand and d3.scaleLinear for axes, d3.axisBottom and d3.axisLeft for rendering, and animated transitions on bar height. Data loads from a CSV file via d3.csv. Tooltips appear on bar hover, and decorative circles and a legend enhance the SVG output.

AI-generated description

AI Models Interactive Dashboard

A D3.js-based visualization dashboard for AI models dataset with interactive features and modular architecture.

Features

  • Interactive Bar Chart Visualization - Dynamic bar chart with smooth animations
  • Summary Statistics Cards - Display min, max, average values, and total row count
  • Metric Selector - Switch between different data metrics dynamically
  • Tooltip Hover Information - View detailed model information on hover
  • Responsive Design - Clean, modern card-based layout that works on mobile devices
  • Decorative Elements - Enhanced visual appeal with dividers and accent circles
  • Modular Architecture - Separated concerns with dedicated modules
  • Error Handling - Graceful error messages and validation
  • Accessibility - ARIA labels and semantic HTML

Files

  • index.html - Main HTML structure with semantic markup
  • styles.css - Dashboard styling, layout, and responsive design
  • index.js - Main application entry point
  • config.js - Centralized configuration for the application
  • chart.js - D3.js chart visualization logic
  • stats.js - Statistics panel management

Data Source

Uses the AI Models dataset from the provided CSV URL.

Usage

Open index.html in a web browser to view the dashboard. Use the metric selector dropdown to switch between different data views.

Architecture

The application is organized into modular components:

  • Config: Centralized configuration for all constants
  • Chart: Handles all D3.js visualization logic
  • StatsPanel: Manages summary statistics display
  • index.js: Coordinates data loading and component interaction

Installation

  1. Clone the repository
  2. Open index.html in a modern web browser
  3. No build process required - uses ES6 modules directly

Browser Support

Requires modern browsers with ES6 module support:

  • Chrome/Edge 63+
  • Firefox 67+
  • Safari 11.1+

Performance

  • Efficient D3 data binding with unique keys
  • Smooth animations (1000ms transitions)
  • Optimized SVG rendering
  • Responsive design with CSS media queries
MIT Licensed

Similar vizzes