{"id":20047514,"url":"https://github.com/pkx8326/simple_math_curves_sql_python_plotly","last_synced_at":"2026-04-10T02:07:57.390Z","repository":{"id":216072771,"uuid":"461120935","full_name":"pkx8326/simple_math_curves_SQL_Python_Plotly","owner":"pkx8326","description":"This project demonstrates the use of mysql.connect package with Python and Plotly to create an SQL database, tables, and visualize data from those tables.","archived":false,"fork":false,"pushed_at":"2022-02-21T07:42:06.000Z","size":204,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T20:30:06.203Z","etag":null,"topics":["data-visualization","database","datavisualization","mysql","mysql-connector","plotly","python","sql"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pkx8326.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-02-19T07:38:42.000Z","updated_at":"2022-03-03T16:12:12.000Z","dependencies_parsed_at":"2024-01-08T11:17:55.693Z","dependency_job_id":"d97ee6ca-2bcc-4952-8d7c-baadbf29698f","html_url":"https://github.com/pkx8326/simple_math_curves_SQL_Python_Plotly","commit_stats":null,"previous_names":["pkx8326/simple_math_curves_sql_python_plotly"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkx8326%2Fsimple_math_curves_SQL_Python_Plotly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkx8326%2Fsimple_math_curves_SQL_Python_Plotly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkx8326%2Fsimple_math_curves_SQL_Python_Plotly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkx8326%2Fsimple_math_curves_SQL_Python_Plotly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkx8326","download_url":"https://codeload.github.com/pkx8326/simple_math_curves_SQL_Python_Plotly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241476992,"owners_count":19969025,"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-visualization","database","datavisualization","mysql","mysql-connector","plotly","python","sql"],"created_at":"2024-11-13T11:36:38.487Z","updated_at":"2025-12-31T01:05:35.431Z","avatar_url":"https://github.com/pkx8326.png","language":"Jupyter Notebook","readme":"# simple_math_curves_SQL_Python_Plotly\nThis project demonstrates the use of mysql.connect package with Python and Plotly to create an SQL database, tables, and visualize the data from those tables.\n\nThis project demonstrates that you can create a MySQL database and tables with Python and the mysql.connect library. You can also write queries and interact with the database and tables with Python just like you can with MySQL Workbench.\n\nThe Jupyter Notebook file shows how you can connect with MySQL database server. It also shows you how to create a database, tables, and interact with those tables to change them, add more columns, or put data in the tables with Python code.\n\nThe mysql.connect library will be very useful only when you can quickly visualize data pulled from a relational database with SQL queries. This operation is also demonstrated in this project. After connecting with MySQL database servr and creating and inserting data into tables, the Python code shows you how to prepare the data for plotting by querying the data with MySQL query commands which include joining multiple data tables. Then the code shows how to create a pandas dataframe from a set of data pulled from SQL queries, and  how to visualize the data quickly with Plotly.\n\nThe data in this demonstration project is from simple algebraric quations wich include linear, parabola, cubic, and hyperbola equations. The values from these equations were created in the form of x, y relational datapoints with MySQL queries from Python code, then visualized to show their signature curves with Plotly.\n\nThe resulting line chart is as the following:\n![simple_math_curves](https://user-images.githubusercontent.com/65524471/154792232-2b2369f8-ee7e-4740-936e-e6dd172ed24b.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkx8326%2Fsimple_math_curves_sql_python_plotly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkx8326%2Fsimple_math_curves_sql_python_plotly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkx8326%2Fsimple_math_curves_sql_python_plotly/lists"}