{"id":17319643,"url":"https://github.com/scholtzan/d3-gantt","last_synced_at":"2026-04-09T10:54:21.371Z","repository":{"id":142687179,"uuid":"65132066","full_name":"scholtzan/d3-gantt","owner":"scholtzan","description":"Gantt Chart with D3","archived":false,"fork":false,"pushed_at":"2020-10-06T16:03:08.000Z","size":1559,"stargazers_count":32,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T14:22:06.693Z","etag":null,"topics":["d3","d3-gantt","gantt-chart","html"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scholtzan.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-08-07T12:29:23.000Z","updated_at":"2025-03-04T23:12:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"3616c168-41d4-433b-abb4-5eea6296e736","html_url":"https://github.com/scholtzan/d3-gantt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scholtzan/d3-gantt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Fd3-gantt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Fd3-gantt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Fd3-gantt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Fd3-gantt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scholtzan","download_url":"https://codeload.github.com/scholtzan/d3-gantt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scholtzan%2Fd3-gantt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699636,"owners_count":25152282,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["d3","d3-gantt","gantt-chart","html"],"created_at":"2024-10-15T13:26:15.324Z","updated_at":"2026-04-09T10:54:21.296Z","avatar_url":"https://github.com/scholtzan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# D3 Gantt Chart\n\nGantt chart implementation with D3.\n\n![Gantt chart screenshot](https://github.com/scholtzan/d3-gantt/raw/master/example/example1.png)\n\nSome features include:\n* Explicit or dynamic width and height of chart\n* Coloring and styling of individual elements\n* Frozen Y-axis when scrolling within the chart\n* Y-axis tooltips\n* RequireJS compatibility\n\n![Gantt chart screenshot2](https://github.com/scholtzan/d3-gantt/raw/master/example/example2.gif)\n\n\n## Usage\n\n```javascript\n// Create a new Gantt chart\nvar gantt = Object.create(d3.ganttChart);\n\n// Configure the chart and add data\ngantt.init({\n  // ID of the HTML element that will contain the Gantt chart\n  node: '#gantt-chart',\n\n  // Y-axis values; description contains the text shown as tooltip when hovering over the Y-axis labels\n  activities: [{name: 'John', description: \"John's schedule\"},\n               {name: 'Bob'},\n               {name: 'Jane', description: \"Jane's schedule\"}],\n\n  // data to describe the elements             \n  data: [\n    {\n      activity: 'John',\n      text: 'Work',\n      fillColor: 'rgb(200, 200, 200)',\n      start: new Date('2016-06-06 07:00:00'),\n      end: new Date('2016-06-06 15:00:00')\n    },\n    {\n      activity: 'Jane',\n      text: 'Work',\n      fillColor: 'rgb(200, 100, 100)',\n      start: new Date('2016-06-06 09:00:00'),\n      end: new Date('2016-06-06 17:30:00')\n    },\n    { ... }\n  ],\n\n  xAxis: {\n    interval: d3.timeHour.every(1)\n  },\n\n  yAxis: {\n    width: 50\n  }\n})\n\n// Show chart\ngantt.draw();\n```\n\n## Dependencies\n\n* [D3 (Version 6)](https://d3js.org/)\n* [jQuery](https://jquery.com/)\n\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Anna Scholtz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscholtzan%2Fd3-gantt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscholtzan%2Fd3-gantt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscholtzan%2Fd3-gantt/lists"}