Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Car Sales Analysis

Public visualization

Viewing a saved revision (read-only)

593bb69228614acf8d2f53cc9a8502de

Car Sales Analysis

0 stars0🌍 Public
Yynagurvali786@gmail.com
Last edited Mar 21, 2024
Created on Mar 19, 2024

This example visualizes car sales data using D3.js with two coordinated charts. A histogram displays the distribution of car prices with ten bins, using steel-blue bars and labeled axes for price and frequency. Below it, a scatter plot shows the relationship between car price and annual income for the first 50 records, with points colored by gender and a categorical legend. Both charts share the same underlying CSV dataset, providing complementary views of the data. The histogram reveals the overall price distribution shape, while the scatter plot explores correlations between price and buyer income, with gender encoding through color. The visualization is rendered entirely with SVG for crisp, scalable output.

AI-generated description

The Penguins Dataset, loaded and parsed as CSV.

Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:

  • Fork this viz
  • Clear out the README
  • Update the README with details about your dataset (including original source)
  • Replace data.csv with your own data
  • Replace the parsing logic in index.js with your own
  • Set the custom URL so you can import from it easily

Challenge

  • Find 3 datasets on a topic you are interested in
  • For each of those, fork this viz and replace the data
  • Parse the quantitative attributes into numbers
  • Update README.md to indicate the original data source