Skip to content

Data visualization using Plotly

Overview

This is a project to learn data visualization and exploration using a Seaborn-dataset (mpg.csv). The dataset comprises of miles-per-gallon values of cars along with other metrics of those cars made between 1970-1982.

I have used plotly to plot and visualize data and derive a few conclusions. Feel free to point out any mistakes or make modifications and further analysis of your own.

Documentation

This documentation contains a pre-rendered notebook attached to it for you to check out. Checkout the Notebook.

Note that it is not a fullly interactive notebook. For a fully interactive notebook, please download data_exploration.ipynb from the Github repo.

There is also a Streamlit app for this visualization: StreamLit App

Project layout


└── πŸ“mpg_visualization
    └── πŸ“.github
        └── πŸ“workflows
            └── ci.yaml
    └── πŸ“app
        └── data_exploration.py
    └── πŸ“assets
        └── 1977_mazda_rx-4.jpg
        └── 1980_mazda_rx-7.jpg
        └── audi_5000.jpg
        └── buick_regal_sport_coupe.jpg
        └── harvester_intl_1200D.png
        └── mazda_glc.png
        └── pontiac_GP.jpg
        └── pugeot_504.png
        └── saab_99le.jpg
    └── πŸ“data
        └── mpg.csv
    └── πŸ“docs
        └── πŸ“assets
            └── car.png
            └── data.png
        └── data_exploration_rendered.ipynb
        └── πŸ“images
            └── plt_1.png
            └── plt_2.png
            .
            .
            .
            └── plt_22.png
        └── index.md
    └── .gitignore
    └── .pre-commit-config.yaml
    └── data_exploration.ipynb
    └── mkdocs.yml
    └── requirements.txt