Skip to main content
100%

combines

✓ Published1🌍 Public
119h61a05c9@cvsr.ac.in
Last edited Oct 20, 2025
Created on Oct 20, 2025
Forked from D3 Starter

This visualization presents customer data from a CSV file through two Plotly charts. A multi-series line chart displays trends in annual income, spending score, and satisfaction rating across customer IDs. A combined bar and line chart compares store visits (bars) against online purchases (line) using dual y-axes. The code uses the Plotly.js library, loading data via `Plotly.d3.csv` and rendering charts with `Plotly.newPlot`.

AI-generated description

Customer Data Visualization

This project visualizes customer data using D3.js to create two charts:

  1. Multi-Series Line Chart showing trends in Annual Income, Spending Score, and Satisfaction Rating
  2. Combined Chart (Bar + Line) showing Store Visits (bar) vs Online Purchases (line)

How to Run

  1. Save all files in the same directory
  2. Open index.html in a web browser
  3. The visualizations will load automatically

Data

The dataset contains information about 49 customers including:

  • Customer ID
  • Age
  • Annual Income
  • Spending Score
  • Online Purchases per month
  • Store Visits per month
  • Satisfaction Rating
MIT Licensed

Similar vizzes