brief description: to create a comparative line plot of famous architects using multiple variables – year of birth, year in which one seminal work was completed and year of death. a plot showing progression of architecture career.
result:
method: i started by researching ways of plotting lines between points. but i quickly ran into data representation issues. to plot lines, we need (x,y) coordinate data and a way of connecting the data points to create lines. the connection rule is restricted to specific points related to the specific architect.
data collection is tedious as I am doing it manually. i would like to learn data scrapping at some point. aside from data collection, i am not entirely satisfied with the result. i would like to improve by
- adding architect names on y-axis
- graphical improvements
the plot below is done using Pandas Parallel Plot, pd.plotting.parallel_coordinates()
python code:
references:
plot using lines
https://stackoverflow.com/questions/51751297/plotting-a-simple-line-between-two-points-in-matplotlib
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.line.html
https://stackoverflow.com/questions/34280444/python-scatter-plot-with-multiple-y-values-for-each-x
https://matplotlib.org/gallery/showcase/bachelors_degrees_by_gender.html#sphx-glr-gallery-showcase-bachelors-degrees-by-gender-py
other libraries Plotly and Seaborn Point Plot
https://plotly.com/python/parallel-categories-diagram/
https://seaborn.pydata.org/tutorial/categorical.html
https://stackoverflow.com/questions/51751297/plotting-a-simple-line-between-two-points-in-matplotlib
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.line.html
https://stackoverflow.com/questions/34280444/python-scatter-plot-with-multiple-y-values-for-each-x
https://matplotlib.org/gallery/showcase/bachelors_degrees_by_gender.html#sphx-glr-gallery-showcase-bachelors-degrees-by-gender-py
other libraries Plotly and Seaborn Point Plot
https://plotly.com/python/parallel-categories-diagram/
https://seaborn.pydata.org/tutorial/categorical.html

No comments:
Post a Comment