Data Visualization with
Python + Adobe Illustrator
Rashida Kamal for 2019 ITP Camp
rashida.kamal@gmail.com
Agenda
About Me / Some of My Work
About You!
How many of you have had some coding experience?
How about coding in python?
How about experience in data analysis?
How about designing in Illustrator?
Expectations
I won’t be covering python syntax in detail, but I will highlight some aspects that will hopefully make the code you see more legible.
Same with Adobe: I won’t go into too many nitty-gritties, but I will show you a few specific tricks that make it easier to make visualizations more visually appealing.
We’ll also share some ideas about what makes a visualization effective.
If you finish early, check in to see if you can help out the person next to you.
If you get stuck, whether it’s with getting something installed or running some code, try pair programming with the person next to you.
Basically, help each other!
Don’t be afraid to Google solutions and try them! You won’t break anything.
Our Workflow
ACQUISITION | CLEANING | ANALYSIS | VISUALIZATION |
click + export OR scrape OR API requests | csvkit python + pandas | python + pandas + matplotlib | matplotlib adobe illustrator ai2html |
1
2
3
4
ACQUISITION | CLEANING | ANALYSIS | VISUALIZATION |
click + export OR scrape OR API requests | | | |
1
2
3
4
Coding! Illustrating!
Go to:
https://github.com/rashidakamal/itpcamp-dataviz
Download the zip.
Unzip the file. Unzip the data file.
In Terminal or Command Prompt, make sure you install the following libraries by typing each of the following commands:
pip3 install pandas
pip3 install matplotlib
pip3 install numpy
pip3 install jupyter notebook
After you have installed each of those, make sure you are in the same folder as your downloaded zip folder.
You can type pwd to see the directory you are in. You can type cd and then some folder path to move into a different directory.
Run the notebook you downloaded by typing jupyter notebook into Terminal/Command Prompt.
Let’s jump into that notebook!
View the notebook: here.
Onto Adobe Illustrator!
Getting your document setup
Select everything by clicking & dragging.
Under Object ->
Onto Adobe Illustrator!
Selecting similar items
Under Select ->
Onto Adobe Illustrator!
Exporting
File -> Export -> Export As
Additional Resources