{"id":23239445,"url":"https://github.com/r32/d3js-extern","last_synced_at":"2026-01-20T03:08:03.101Z","repository":{"id":78669551,"uuid":"38985837","full_name":"R32/d3js-extern","owner":"R32","description":"[DEPRECATED]d3.js extern","archived":false,"fork":false,"pushed_at":"2015-09-12T12:15:50.000Z","size":272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T22:13:33.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haxe","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/R32.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}},"created_at":"2015-07-13T01:51:11.000Z","updated_at":"2016-04-17T03:00:39.000Z","dependencies_parsed_at":"2023-03-01T13:15:52.511Z","dependency_job_id":null,"html_url":"https://github.com/R32/d3js-extern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/R32/d3js-extern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R32%2Fd3js-extern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R32%2Fd3js-extern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R32%2Fd3js-extern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R32%2Fd3js-extern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/R32","download_url":"https://codeload.github.com/R32/d3js-extern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R32%2Fd3js-extern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28594958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"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-12-19T04:28:20.121Z","updated_at":"2026-01-20T03:08:03.072Z","avatar_url":"https://github.com/R32.png","language":"Haxe","funding_links":[],"categories":[],"sub_categories":[],"readme":"d3js-extern\r\n-------\r\n\r\n**WIP**\r\n\r\n### Overview\r\n\r\nExtern type definitions for `d3 version 3.5.6` and `Haxe 3.2+`.\r\n\r\n * [Original d3js API Reference](https://github.com/mbostock/d3/wiki/API-Reference)\r\n\r\n  - Haxe-generated API documentation: `make -f Makefile.docs`\r\n\t \r\n * [Original d3js Tutorials](https://github.com/mbostock/d3/wiki/Tutorials)\r\n\r\n### Features\r\n\r\n * Strict typing, D3js API IntelliSense\r\n \r\n### Example\r\n\r\n#### difference\r\n\r\nNative javascript:\r\n\r\n```js\r\nvar date = new Date();\r\nvar local = d3.time.format(\"%B\");\r\nlocal(date);\t\t\t\t\t\t\t\t\t// \u003c--- 1.\r\n\r\nd3.timer(function() { return true; });\t\t\t// \u003c--- 1.\r\n\r\nd3.dsv(\"|\",\"text/plain\")(\"csv.txt\");\t\t\t// \u003c--- 1.\r\n\r\n// time.format static method\r\nvar utc = d3.time.format.utc(\"%B\");\t\t\t\t// \u003c--- 2.\r\nutc.parse(\"May\");\r\n```\r\n\r\nhaxe code:\r\n\r\n```haxe\r\nvar date = Date.now();\r\nvar local = js.D3.time.format(\"%B\");\t\t\t// Constructs a new time formatter\r\nlocal.selfCall(date); \t\t\t\t\t\t\t// 1. selfCall\r\n\r\nD3.timer.selfCall(function(d,f){return true;});\t// 1. selfCall\r\n\r\nD3.dsv(\"|\", \"text/plain\").selfCall(\"csv.txt\");\t// 1. selfCall\r\n\r\n// time.format static method \r\nvar utc = js.d3.time.Format.utc(\"%B\");\t\t\t// 2. pack.to.Class.staticMethod\r\nutc.parse(\"May\");\r\n```\r\n\r\nGenerated JavaScript:\r\n\r\n```js\r\nvar date = new Date();\r\nvar local = d3.time.format(\"%B\");\r\nlocal(date);\r\nd3.timer(function() {\r\n\treturn true;\r\n});\r\nd3.dsv(\"|\",\"text/plain\")(\"csv.txt\");\r\nvar utc = d3.time.format.utc(\"%B\");\r\nutc.parse(\"May\");\r\n```\r\n\r\n### Status\r\n\r\nhttps://github.com/mbostock/d3/wiki/API-Reference\r\n\r\n - [ ] D3 global\r\n \r\n - [x] Selections\r\n \r\n - [x] Transitions\r\n \r\n  - [x] Transition\r\n  \r\n   - [x] Ease - `js.d3.FlxEase`\r\n  \r\n  - [x] Timers - `d3.timer`\r\n  \r\n  - [x] Interpolation\r\n \r\n - [x] Working with Arrays - `js.d3.arryas.*`\r\n \r\n - [x] Math - `js.d3.math.*`\r\n \r\n - [x] Loading External Resources\r\n \r\n - [x] String Formatting\r\n \r\n - [x] CSV Formatting - `d3.format.*`\r\n \r\n - [x] Localization\t- `js.d3.Locale, typedef LocaleDef`\r\n \r\n - [x] Colors \r\n \r\n - [x] Namespaces\r\n \r\n - [x] Internals - `js.d3.Dispatch` For haxe is, this stuff seems not very useful\r\n \r\n - [x] d3.scale (Scales)\r\n \r\n  - [x] Quantitative\r\n  \r\n  - [x] Ordinal\r\n   \r\n - [ ] d3.svg (SVG)\r\n \r\n   - [ ] Shapes\r\n   \r\n   - [ ] Axes\r\n   \r\n   - [ ] Controls\r\n   \r\n - [x] d3.time (Time) - `js.d3.Time, js.d3.time.*`\r\n \r\n  - [x] Time Formatting\r\n  \r\n  - [x] Time Scales\r\n  \r\n  - [x] Time Intervals\r\n  \r\n - [ ] d3.layout (Layouts)\r\n \r\n  - [ ] Bundle\r\n \r\n  - [ ] Chord\r\n \r\n  - [ ] Cluster\r\n  \r\n  - [ ] Hierarchy\r\n  \r\n  - [ ] Histogram\r\n  \r\n  - [ ] Pack\r\n  \r\n  - [ ] Partition\r\n  \r\n  - [ ] Pie\r\n  \r\n  - [ ] Stack\r\n  \r\n  - [ ] Tree\r\n  \r\n  - [ ] Treemap\r\n\r\n - [ ] d3.geo (Geography)\r\n \r\n  - [ ] Paths\r\n \r\n  - [ ] Projections\r\n \r\n  - [ ] Streams\r\n \r\n - [ ] d3.geom (Geometry)\r\n \r\n  - [ ] Voronoi\r\n \r\n  - [ ] Quadtree\r\n \r\n  - [ ] Polygon\r\n \r\n  - [ ] Hull\r\n  \r\n - [x] d3.behavior (Behaviors) - `js.d3.Behavior, js.d3.behavior.*`\r\n\t\r\n  - [x] Drag\r\n \r\n  - [x] Zoom\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr32%2Fd3js-extern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr32%2Fd3js-extern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr32%2Fd3js-extern/lists"}