{"id":15910736,"url":"https://github.com/gianlucatruda/titanic","last_synced_at":"2026-04-10T22:31:48.951Z","repository":{"id":67059304,"uuid":"70473562","full_name":"gianlucatruda/titanic","owner":"gianlucatruda","description":"An exhibition of my experience in data processing and visualisation. Python script to process and visualise the Titanic survivor data.","archived":false,"fork":false,"pushed_at":"2016-10-10T19:33:00.000Z","size":1605,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T15:35:13.029Z","etag":null,"topics":["data","database","flask","info","matplotlib","python","science","scrape","server","titanic","visualisation","web"],"latest_commit_sha":null,"homepage":"https://gianlucatruda.wordpress.com/projects/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gianlucatruda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-10T09:35:25.000Z","updated_at":"2017-02-05T10:53:42.000Z","dependencies_parsed_at":"2023-02-21T10:01:05.513Z","dependency_job_id":null,"html_url":"https://github.com/gianlucatruda/titanic","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.050000000000000044","last_synced_commit":"a73e6b4ed5ce655dac92880b433ccec8c0b09a51"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianlucatruda%2Ftitanic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianlucatruda%2Ftitanic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianlucatruda%2Ftitanic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianlucatruda%2Ftitanic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gianlucatruda","download_url":"https://codeload.github.com/gianlucatruda/titanic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246918062,"owners_count":20854747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","database","flask","info","matplotlib","python","science","scrape","server","titanic","visualisation","web"],"created_at":"2024-10-06T15:21:08.114Z","updated_at":"2026-04-10T22:31:43.918Z","avatar_url":"https://github.com/gianlucatruda.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://www.youtube.com/watch?feature=player_embedded\u0026v=wozGawDTALM\n  \" target=\"_blank\"\u003e\u003cimg src=\"http://img.youtube.com/vi/wozGawDTALM/0.jpg\" \n  alt=\"Problem loading image\" width=\"560\" height=\"315\" border=\"10\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003eClick the above image to see a YouTube demo.\u003c/p\u003e\n\nWhat is this?\n-----------\n  This is a relatively simple project to exhibit the extent of my experience \n  with data processing and visualisation.\n\n\nInstallation\n------------\n  Perform a simple \"git clone\" request from the URL\n  https://github.com/gianlucatruda/titanic.git\n  and all the relevant files will be downloaded.\n\n  Please also ensure the Python 3.4 is installed,\n  along with the following libraries:\n\n  * Matplotlib\n  * Requests\n  * Flask\n\n  If they aren't installed, you can install them through 'pip3'\n  by opening your terminal and typing\n    ```sudo pip3 install {name of library}```\n  to install. \n\n  If 'pip3' is not installed, install it by typing\n    ```sudo apt-get install python3-pip```\n\nUsage Instructions\n-----------------------------\n\n  In terminal, navigate to the project directory.\n  This directory should contain 'titanic.py'.\n\n  Type\n    ```python3 titanic.py```\n  to run the script.\n\n  Once it responds, a Flask server has been established\n  on your local machine.\n\n  Navigate to http://localhost:8080/\n  to begin engaging with the software.\n\n  When you are finished, press CTRL+C in terminal\n  to quit the script.\n\n    NOTE: If you are viewing the pages multiple times, it\n    might be necessary to do a 'hard refresh' to ensure\n    that the new data is loaded into the browser\n    instead of cached data. \n\n\nHow does it work?\n-----------\n  It consists of a single Python 3.4 script, which is responsible for\n  the vast majority of the functionality. This is complemented with\n  html files (and associated assets, scripts, etc.) to enhance the\n  aesthetic experience.\n\n  The script works in 3 stages:\n\n  \t1. Starts a Flask server on http://localhost:8080\n  \t\tand serves up a landing page with more info.\n\n  \t2. Waits for the user to request the data set,\n  \t\tat which point the Requests library is \n  \t\tused to pull the JSON data from \n  \t\thttps://titanic.businessoptics.biz/survival .\n  \t\tA predefined class 'Passenger' is\n  \t\tinstantiated for each parameter set (processed from\n  \t\tthe JSON data).\n\n  \t3. Once the data has successfully been downloaded and\n  \t\tprocessed, Matplotlib is utilised to generate detailed \n  \t\tgraphics to illustrate the embarked/surviving data\n  \t\tacross Sex, Age, and (cabin) Class. \n  \t\tThese graphics are rendered as .png files and \n  \t\tthen served up through Flask to the browser.\n\n  Contacts\n  --------\n\n  * Gianluca Truda\n  * trdgia001@myuct.ac.za\n  * http://gianlucatruda.wordpress.com\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianlucatruda%2Ftitanic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgianlucatruda%2Ftitanic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianlucatruda%2Ftitanic/lists"}