liveBook · Manning

Python

As explained in Everyday Data Visualization

Python is a general-purpose programming language known for readable syntax and a broad ecosystem of libraries.

Python is a free, open-source programming language with approachable syntax and a strong place in data visualization. It offers a practical alternative to JavaScript or R when readable code matters. section 1.5.3

Common data-visualization options include:

  • Matplotlib for straightforward charts and familiar defaults. section 1.5.3
  • Seaborn and Plotly as additional Python visualization libraries. section 1.5.3

Fruit data as a bar chart

A Python example turns fruit data into a bar chart with Matplotlib in about 18 lines of code, including the data itself. The intentionally simple version avoids a more complicated horizontal-bar implementation. section 1.5.3

Figure 1.10 A bar chart created in Python’s Matplotlib library, using its defaults
01-10

Compare the resulting bar chart and its default Matplotlib presentation. section 1.5.3

How Everyday Data Visualization covers it

How deep it goes
Demonstrates library selection and a short chart example, but stops short of teaching Python syntax or detailed implementation.
Examples
Uses fruit data and an approximately 18-line Matplotlib bar-chart example.
What you can do after
Apply it via Matplotlib to create a simple bar chart from supplied data.
How it connects
Connects Python with R, JavaScript, Matplotlib, Seaborn, Plotly, and data visualization.

Also explained in

Compare how 26 books explain Python →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Everyday Data Visualization. The section links point to the parts of the book it draws on.