Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _sources/Introduction/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ efficient and comfortable footwear
What does a data scientist do?
------------------------------

.. youtube:: 0tuEEnL61HM
.. youtube:: 0tuEEnL61HM


Data Science in a Liberal Arts Context
Expand Down Expand Up @@ -163,6 +163,7 @@ The Data Science Pipeline

.. image:: Figures/DSPipeline.svg
:align: left
:alt: Depicts the data science pipeline. A series of steps to go through to analyze and communicate with data.


One of the primary goals of this textbook is to familiarize you with the data
Expand Down
7 changes: 5 additions & 2 deletions _sources/WorldFacts/cs2_data_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ Let's write all of the above calls into a single line.


.. image:: Figures/visualization_2.png

:alt: This is a histogram depicting protecting minority score.

.. fillintheblank:: fact_liability_index2_cs1
:casei:
Expand Down Expand Up @@ -572,6 +572,7 @@ Or, you can put the query right into the call to create a chart.


.. image:: Figures/visualization_4.png
:alt: This is a scatter graph of protecting minority investors score.


Pretty neat! As we can see, one location has a minimal value while others are farther to the right. This graph encapsulates all the protecting_minority_investors_score
Expand Down Expand Up @@ -853,6 +854,7 @@ and ``&`` (logical *and*) operators.


.. image:: Figures/visualization_5.png
:alt: This is a scatter graph protecting minority investor score.

Now, let’s suppose you want to travel and start your dream business in one of your favorite locations. For example,
let’s say you have always wanted to go to Malta and start your business. Let’s see what business-related data we have in the data frame for Malta using equality.
Expand Down Expand Up @@ -1013,7 +1015,7 @@ Let's use scatter matrix to see correlation between multiple pairs of things at
alt.Y(alt.repeat("row"), type='quantitative'),
color='Region:N'
).properties(
width=150,
width=150
height=150
).repeat(
row=['protecting_minority_investors_score', 'strength_of_minority_investor_protection_index_(0-50)', 'extent_of_disclosure_index_(0-10)', 'extent_of_director_liability_index_(0-10)'],
Expand All @@ -1022,6 +1024,7 @@ Let's use scatter matrix to see correlation between multiple pairs of things at


.. image:: Figures/visualization_6.png
:alt: This is a group of graphs used to show scatter mattrix.


.. code:: python3
Expand Down
2 changes: 2 additions & 0 deletions _sources/WorldFacts/cs2_graphing_business_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,14 @@ above and apply that to the world below.


.. image:: Figures/WorldFactbook_74_0.png
:alt: This is the world map without color.


Your final result should look like this.


.. image:: Figures/Visualization_7.png
:alt: This is the world map with color based on data.


.. reveal:: sol_business_score_map
Expand Down