3 (46)
trends very fast, test hypotheses, and make good decisions. It is especially useful in
recognizing outliers, the data points that are outside the normal range which can indicate
errors or mistakes. Moreover, with the data increasing amount produced today, data
visualization has become a necessity for understanding data (Kumar, 2023, p. 248).
According to the complex nature of data visualization, choosing the right tools for effective
impact is very important. This matter leads us to Python, a powerful tool in the area of
visualization. But why Python? While most languages have special packages and libraries
that are created for visualization tasks, Python is positioned to be a special tool for data
visualization. Python, with libraries like numpy and scipy, produces advanced numerical
and scientific calculations that serves a lot of machine learning methods, thanks to the
scikit-learn availability, offers a great environment for big data manipulation because of the
pandas package and its compatibility with Apache Spark, and with libraries such as
seaborn, plotly creates beautiful plots and figures (Belorkar et al., 2020, p. 2).
2.1.1 Types of Data Visualization Libraries
There are different data visualization libraries and packages that are compatible with
Python. Most Python libraries that are special for data visualization can be organized into
one of the four groups, Matplotlib-based libraries, JavaScript libraries, JSON libraries, and
WebGL libraries, which are separated by their origin and focus (Nelson, 2020, p. 2).
The first big group of libraries related to Matplotlib. Matplotlib history goes back to 2003 and
one of the oldest Python libraries special for data visualization, which continuously updated
until now. Matplotlib has many visualization tools, plot and output types. It is used to
produce charts based on static visualizations. This library is more limited than other
libraries like Plotly and VisPy, while it can produce some 3D visualizations, but facing many
problems in comparison with its competitors. Unlike Bokeh, it is also limited in producing an
interactive plot. Matplotlib-based libraries add new capabilities to the library by showing
specific data types or domains, adding new plot types, or creating new high-level APIs for
Matplotlib functions. Matplotlib, Pandas, Seaborn, and GeoPandas are the most important
and widely used visualization libraries in this category (Nelson, 2020, p. 4).
There are some JavaScript-based libraries for Python that make good data visualization.
Thanks to web browsers using HTML5, it is possible to have interactive graphs and charts,
instead of using old static 2D plots. Using CSS to Style HTML pages make these
visualizations really good. These libraries wrap JavaScript/HTML5 functions and tools in