{"id":20801509,"url":"https://github.com/harish2704/sql-chart","last_synced_at":"2026-02-08T15:32:31.609Z","repository":{"id":149057793,"uuid":"150787266","full_name":"harish2704/sql-chart","owner":"harish2704","description":"Draw charts interactively from any SQL queries","archived":false,"fork":false,"pushed_at":"2025-05-07T18:54:05.000Z","size":22,"stargazers_count":6,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-25T14:41:15.524Z","etag":null,"topics":["bar-chart","charts","graph","heatmap","line-chart","pivot-tables","plotlyjs","sql"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harish2704.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,"zenodo":null}},"created_at":"2018-09-28T19:41:49.000Z","updated_at":"2025-05-07T18:54:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"480afd8c-9046-4371-8672-d35534f2e57f","html_url":"https://github.com/harish2704/sql-chart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harish2704/sql-chart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish2704%2Fsql-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish2704%2Fsql-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish2704%2Fsql-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish2704%2Fsql-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harish2704","download_url":"https://codeload.github.com/harish2704/sql-chart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harish2704%2Fsql-chart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29235254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T14:18:14.570Z","status":"ssl_error","status_checked_at":"2026-02-08T14:18:14.071Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bar-chart","charts","graph","heatmap","line-chart","pivot-tables","plotlyjs","sql"],"created_at":"2024-11-17T18:18:46.118Z","updated_at":"2026-02-08T15:32:31.592Z","avatar_url":"https://github.com/harish2704.png","language":"HTML","readme":"\n# SQL chart\nDraw chart for any SQL queries\n\n\n## What is this?\nA simple web application to visualize data from any arbitrary SQL query.\n\n## How it is working?\n* set `DB_CONNECTION` string either in env variable or in `config` file\n* Start the application by running `run.sh`. Visit 'http://127.0.0.1:8000/index.html'\n* Enter the SQL query in the text box and submit.\n* available columns in the data will be shown in UI. visualize the data by dragging columns into required axis. Also choose requied aggregation function for pivot table\n* Entire state of the graph ( SQL, columns in each axis, aggregation function etc ) is stored in the URL ( in URL hash ) so that we can reload the page without loosing the data.\n\n## How to run this\n```bash\ngit clone https://github.com/harish2704/sql-chart\ncd sql-chart\npip2 install -r requirements.txt --user\n# Edit config file and set database connection url. For details, refer https://docs.sqlalchemy.org/en/latest/core/engines.html\n./run.sh\n```\n\n## Screencast\n![Screencast](https://github.com/harish2704/harish2704.github.io/blob/master/sql-chart/screencast.gif?raw=true \"sql-chart quick usage\")\n\n[Watch video](http://bit.ly/2y0J8QL)\n\n## Thanks\n* Authors of pivottable ( https://github.com/nicolaskruchten/pivottable ). The UI code is shamelessly copied from one of the examples given in this project.\n* Simple backed api server ( server.js ) is written in https://falconframework.org/.\n* https://plot.ly/javascript/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharish2704%2Fsql-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharish2704%2Fsql-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharish2704%2Fsql-chart/lists"}