Skip to main content

For generating personal reminders as data visualizations (venn, bar, heatmap, scatter, etc)

Project description

Overview

Data visualization package built on Python Plotly. Use Artfornormies to create personal reminder graphs as shown on the Artfornormies Instagram.

Purpose: to develop data visualization style that aid in personal writing and self reflection topics. Intended audience for visuals include:

  • artists and creatives who struggle with perfectionism and minimization of own work
  • 20-30 somethings that struggle with social media comparison and quarterlife decision-making
  • younger self

Inspired by the work of Instagram content creators: @mattsurelee , @wetheurban, @lizandmollie

Installation

Install using pip:

pip install artfornormies

Usage

Generate a visual using one of the listed functions:

from artfornormies.object_graphs import Chart

afn = Chart(fig_width = 900, fig_height=800,night_mode = True, opacity_val=0.75,
                title_size=20, axis_label_size=20, tick_label_size=16, label_size=18, anno_size=10,
                label_charlen=9, anno_text= "Source: <i>https://github.com/jon-tk-chan</i><br><i>Instagram: @artfornormies</i>"
            )

afn.create_venn_2(text_labels=["Moving at a pace that is right for you right now", 
                              "Moving at a pace that appears much slower than your peers",
                              "More common than you think"],
                  main_title="")

fig.write_image("images/ex_plot.png")

Example Plot

Dependencies

Ensure that Python Plotly is installed on your current Python Environment.

Documentation

Plot type Function name Purpose Data parameters layout parameters

Scatter plot

create_scatter()

Compare categorical datapoints using 2 continuous numerical axes.
Use to show major differences in one dimension while highlighting relatively similar values in another dimension.

ex: Comparing what you post about vs what you spend your time on
x_vals: list of floats,
y_vals: list of floats,
text_vals: list of str,
main_title: str,
x_title: str,
y_title: str,
anno_text: str,
color_by_y: boolean,
main_colorscale: predefined colorcale variables(list of 2 item lists in [float, str]),
night_mode: boolean,
label_size: int,
label_charlen: int

Venn Diagram

create_venn_2()

Highlight shared quality between 2 categorical data points.
Use for highlighting similarities between 2 seemingly contradictory datapoints.

ex: the things you say about yourself vs the things you would never say to a loved one
venn_labels: list of 3 str (format: [left_text, right_text, intersection])
main_title: str,

anno_text: str,
fill_venn: boolean,
left_color: str,
right_color: str,
night_mode: boolean

Bar Chart

create_bar()

Compare categorical data points using 1 continuous numerical axis.
Use for showing differences in the numerical value of multiple categories.

ex: the types of job application responses (or lack thereof) and how attention you pay to them when evaluating self-worth
y_vals: list of floats,
text_vals: list of str,
main_title: str,

x_title: str,
y_title: str,
anno_text: str,
bar_color: str,
night_mode: boolean,
label_size: int,
label_charlen: int

Heatmap

create_heatmap()

Compare categorial datapoints using 2 bivariate dimensions.
Use for 2x2 pairwise comparison of multiple datapoints.

ex: identifying the labels you assign online peers based on whether you
like/dislike them and if you are younger/older than them
x_ticks: list of 2 str,
y_ticks: list of 2 str,
text_labels: list of 2 lists of 2 str in format: [[bottom_left, bottom_right],[top_left,top_right]],
main_title: str,
x_title: str,
y_title: str,
anno_text: str,
main_color=str,
night_mode=true

References

Artfornormies was built on top of Plotly visualization libaray: Plotly - Python Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

artfornormies-0.0.5.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

artfornormies-0.0.5-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file artfornormies-0.0.5.tar.gz.

File metadata

  • Download URL: artfornormies-0.0.5.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for artfornormies-0.0.5.tar.gz
Algorithm Hash digest
SHA256 2aea1699f73065423a81b08f394c969b444f0dfc2463d546b5861e63b681fb1b
MD5 34a658b8c62747422b51c85133bbff26
BLAKE2b-256 83aa5f61a5a35bd67ea2598c725c41b79b50d1effbc98d5b8cd5a3261dc99809

See more details on using hashes here.

File details

Details for the file artfornormies-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: artfornormies-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for artfornormies-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a1b786b1fe3422e4dd95f4099fa95caf47b84e5091d9a0caabf056fea7935873
MD5 cf92744249635c979f1fd303349f995f
BLAKE2b-256 3d1e932b7f5db34868c6cb78348a0695920264f0480f5508dcba900b371ac2fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page