meta_pixel
Tapesearch Logo
Log in
Machine Learning Guide

MLA 009 Charting and Visualization Tools for Data Science

Machine Learning Guide

OCDevel

Artificial, Introduction, Learning, Courses, Technology, Ml, Intelligence, Ai, Machine, Education

4.9848 Ratings

🗓️ 6 November 2018

⏱️ 25 minutes

🧾️ Download transcript

Summary

Python charting libraries - Matplotlib, Seaborn, and Bokeh - explaining, their strengths from quick EDA to interactive, HTML-exported visualizations, and clarifies where D3.js fits as a JavaScript alternative for end-user applications. It also evaluates major software solutions like Tableau, Power BI, QlikView, and Excel, detailing how modern BI tools now integrate drag-and-drop analytics with embedded machine learning, potentially allowing business users to automate entire workflows without coding.

Links

Core Phases in Data Science Visualization

  • Exploratory Data Analysis (EDA):
    • EDA occupies an early stage in the Business Intelligence (BI) pipeline, positioned just before or sometimes merged with the data cleaning (“munging”) phase.
    • The outputs of EDA (e.g., correlation matrices, histograms) often serve as inputs to subsequent machine learning steps.

Python Visualization Libraries

1. Matplotlib

  • The foundational plotting library in Python, supporting static, basic chart types.
  • Requires substantial boilerplate code for custom visualizations.
  • Serves as the core engine for many higher-level visualization tools.
  • Common EDA tasks (like plotting via .corr().hist(), and .scatter() methods on pandas DataFrames) depend on Matplotlib under the hood.

2. Pandas Plotting

  • Pandas integrates tightly with Matplotlib and exposes simple, one-line commands for common plots (e.g., df.corr()df.hist()).
  • Designed to make quick EDA accessible without requiring detailed knowledge of Matplotlib’s verbose syntax.

3. Seaborn

  • A high-level wrapper around Matplotlib, analogous to how Keras wraps TensorFlow.
  • Sets sensible defaults for chart styles, fonts, colors, and sizes, improving aesthetics with minimal effort.
  • Importing Seaborn can globally enhance the appearance of all Matplotlib plots, even without direct usage of Seaborn’s plotting functions.

4. Bokeh

  • A powerful library for creating interactive, web-ready plots from Python.
  • Enables user interactions such as hovering, zooming, and panning within rendered plots.
  • Exports visualizations as standalone HTML files or can operate as a server-linked app for live data exploration.
  • Supports advanced features like cross-filtering, allowing dynamic slicing and dicing of data across multiple axes or columns.
  • More suited for creating reusable, interactive dashboards rather than quick, one-off EDA visuals.

5. D3.js

  • Unlike previous libraries, D3.js is a JavaScript framework for creating complex, highly customized data visualizations for web and mobile apps.
  • Used predominantly on the client-side to build interactive front-end graphics for end users, not as an EDA tool for analysts.
  • Common in production-grade web apps, but not typically part of a Python-based data science workflow.

Dedicated Visualization and BI Software

Tableau

  • Leading commercial drag-and-drop BI tool for data visualization and dashboarding.
  • Connects to diverse data sources (CSV, Excel, databases), auto-detects column types, and suggests default chart types.
  • Users can interactively build visualizations, cross-filter data, and switch chart types without coding.

Power BI

  • Microsoft’s BI suite, similar to Tableau, supporting end-to-end data analysis and visualization.
  • Integrates data preparation, visualization, and increasingly, built-in machine learning workflows.
  • Focused on empowering business users or analysts to run the BI pipeline without programming.

QlikView

  • Another major BI offering is QlikView, emphasizing interactive dashboards and data exploration.

Excel

  • Still widely used for basic EDA and visualizations directly on spreadsheets.
  • Offers limited but accessible charting tools for histograms, scatter plots, and simple summary statistics.
  • Data often originates from Excel/CSV files before being ingested for further analysis in Python/pandas.

Trends & Insights

  • Workflow Integration: Modern BI tools are converging, adding both classic EDA capabilities and basic machine learning modeling, often through a code-free interface.
  • Automation Risks and Opportunities: As drag-and-drop BI tools increase in capabilities (including model training and selection), some data science coding work traditionally required for BI pipelines may become accessible to non-programmers.
  • Distinctions in Use:
    • Python libraries (Matplotlib, Seaborn, Bokeh) excel in automating and scripting EDA, report generation, and static analysis as part of data pipelines.
    • BI software (Tableau, Power BI, QlikView) shines for interactive exploration and democratized analytics, integrated from ingestion to reporting.
    • D3.js stands out for tailored, production-level, end-user app visualizations, rarely leveraged by data scientists for EDA.

Key Takeaways

  • For quick, code-based EDA: Use Pandas’ built-in plotters (wrapping Matplotlib).
  • For pre-styled, pretty plots: Use Seaborn (with or without direct API calls).
  • For interactive, shareable dashboards: Use Bokeh for Python or BI tools for no-code operation.
  • For enterprise, end-user-facing dashboards: Choose BI software like Tableau or build custom apps using D3.js for total control.

Transcript

Click on a timestamp to play from that location

0:00.0

You're listening to Machine Learning Applied.

0:02.4

In this episode, we're going to talk about specific charting, plotting, graphing utilities in Python, outside of Python, dedicated software, all that stuff.

0:12.4

We'll cover Matt Plotlib, Seaborne, Boka, D3.

0:17.3

Okay, those are code libraries for generating plots and graphs.

0:21.5

And then we'll talk about software packages for charting and graphing, things like Tableau, ClickView, Power BI, and Excel.

0:30.6

So in the last couple episodes, we worked through the EDA part of the BI pipeline, the exploratory data analysis phase of the business

0:41.2

intelligence pipeline. Remember, EDA comes right before cleaning your data, or some people

0:47.4

put those two together. We got EDA and munging. That's all just EDA. And then your cleaned up data

0:53.4

from that phase goes into your

0:55.4

machine learning model. And oftentimes a developer will build this story from beginning to end of

1:01.3

the B.I pipeline where they're ingesting the data, they're performing EDA, they're designing the

1:06.4

machine learning model. They'll do this all in a Jupyter notebook and they'll execute each cell,

1:12.0

cell by cell, and each cell's execution then will capture the output under each cell. And then you can

1:20.3

save that Jupyter notebook and publish it online and other people can look at the entire process,

1:26.9

including each output from each phase on GitHub,

1:30.8

on a blog post, on a tutorial, whatever.

1:34.0

Now, in the steps of EDA that chart and plot and graph, that render charts and graphs,

1:41.1

these developers will use any number of libraries.

1:43.6

The most common library used for plotting is called MapPlotlib. and graphs, these developers will use any number of libraries.

1:47.9

The most common library used for plotting is called MapPlotlib.

1:52.5

M-A-T-L-O-T-L-I-B, Map-P-P-L-I-B.

1:57.5

Map-Plot Lib is a library that lets you chart and graph, basic charts.

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from OCDevel, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of OCDevel and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2025.