{"id":13481774,"url":"https://github.com/bumbeishvili/d3-tooltip","last_synced_at":"2026-03-04T22:31:54.290Z","repository":{"id":111194512,"uuid":"109672564","full_name":"bumbeishvili/d3-tooltip","owner":"bumbeishvili","description":"Simple, beautiful data driven tooltip","archived":false,"fork":false,"pushed_at":"2022-03-13T09:28:38.000Z","size":260,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"gh-pages","last_synced_at":"2025-07-19T10:42:32.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bumbeishvili.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":"2017-11-06T09:15:01.000Z","updated_at":"2024-03-05T10:38:02.000Z","dependencies_parsed_at":"2024-01-02T22:59:50.245Z","dependency_job_id":null,"html_url":"https://github.com/bumbeishvili/d3-tooltip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bumbeishvili/d3-tooltip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumbeishvili%2Fd3-tooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumbeishvili%2Fd3-tooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumbeishvili%2Fd3-tooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumbeishvili%2Fd3-tooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bumbeishvili","download_url":"https://codeload.github.com/bumbeishvili/d3-tooltip/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bumbeishvili%2Fd3-tooltip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30096763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T21:59:23.547Z","status":"ssl_error","status_checked_at":"2026-03-04T21:57:50.415Z","response_time":59,"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":[],"created_at":"2024-07-31T17:00:55.517Z","updated_at":"2026-03-04T22:31:54.242Z","avatar_url":"https://github.com/bumbeishvili.png","language":"JavaScript","funding_links":[],"categories":["Utils"],"sub_categories":[],"readme":"[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)\r\n\r\n\r\n# D3 tooltip\r\n\r\n## See the [Project Page](https://bumbeishvili.github.io/d3-tooltip/) for interactive example!\r\n\r\n\r\n## See usage example [at this codepen](https://codepen.io/bumbeishvili/pen/WMvNxM?editors=1010)\r\n\r\n## screenshot\r\n![image](assets/scr.png)\r\n\r\n### Highlights\r\n* Dynamic resizing\r\n* High number of customization options\r\n\r\n### Usage\r\n1. Include `tooltip.js` file into you app\r\n\r\n```html\r\n \u003cscript src=\"tooltip.js\"\u003e\u003c/script\u003e\r\n```\r\n2. Initialize tooltip inside your d3 visual\r\n\r\n```javascript\r\n var tooltip = d3.componentsTooltip()\r\n        .container('.svg-element')\r\n        .content([\r\n          {\r\n            left: \"default id\",\r\n            right: \"{id}\"\r\n          },\r\n          {\r\n            left: \"default value\",\r\n            right: \"{value}\"\r\n          },\r\n        ])\r\n```\r\n\r\n3. Show or hide it on your events\r\n```javascript\r\n   // show tooltip\r\n        tooltip\r\n        .x(100)\r\n        .y(100)\r\n        .show({id:1,value:\"some value\",name:\"some large name\"})\r\n```\r\n\r\n```javascript\r\n//hide\r\ntooltip.hide()\r\n```\r\n\r\n\r\n## Author\r\n [David   B (twitter)](https://twitter.com/dbumbeishvili)  \r\n [David   B (linkedin)](https://www.linkedin.com/in/bumbeishvili/)  \r\n\r\nI am available for freelance data visualization work. Please [contact me](https://davidb.dev/about) in case you'd like me to help you with my experience and expertise\r\n\r\nYou can also [book data viz related consultation session](https://www.fiverr.com/share/4XxG21) with me\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumbeishvili%2Fd3-tooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbumbeishvili%2Fd3-tooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbumbeishvili%2Fd3-tooltip/lists"}