{"id":22550132,"url":"https://github.com/maikroempagel/phoenix_liveview_d3js","last_synced_at":"2025-08-12T02:14:17.106Z","repository":{"id":136996078,"uuid":"416815389","full_name":"maikroempagel/phoenix_liveview_d3js","owner":"maikroempagel","description":"Demonstrates how to interact with D3.js from Phoenix LiveView","archived":false,"fork":false,"pushed_at":"2022-09-30T12:53:19.000Z","size":121,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T17:59:35.833Z","etag":null,"topics":["d3","d3-js","d3-visualization","d3js","elixir","elixir-examples","elixir-lang","elixir-phoenix","elixir-programming-language","phoenix","phoenix-elixir","phoenix-framework","phoenix-liveview"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/maikroempagel.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-13T16:18:01.000Z","updated_at":"2025-01-03T23:03:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"8874b135-c1d8-41cb-97f1-967472fca768","html_url":"https://github.com/maikroempagel/phoenix_liveview_d3js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maikroempagel/phoenix_liveview_d3js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikroempagel%2Fphoenix_liveview_d3js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikroempagel%2Fphoenix_liveview_d3js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikroempagel%2Fphoenix_liveview_d3js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikroempagel%2Fphoenix_liveview_d3js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maikroempagel","download_url":"https://codeload.github.com/maikroempagel/phoenix_liveview_d3js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikroempagel%2Fphoenix_liveview_d3js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269987123,"owners_count":24508176,"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-08-12T02:00:09.011Z","response_time":80,"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-js","d3-visualization","d3js","elixir","elixir-examples","elixir-lang","elixir-phoenix","elixir-programming-language","phoenix","phoenix-elixir","phoenix-framework","phoenix-liveview"],"created_at":"2024-12-07T16:11:12.838Z","updated_at":"2025-08-12T02:14:12.061Z","avatar_url":"https://github.com/maikroempagel.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nThis little project demonstrates how to interact with [D3.js](https://d3js.org/) from a Phoenix LiveView using [client hooks](https://hexdocs.pm/phoenix_live_view/js-interop.html#client-hooks).\n\nCurrently a simple circle object is added to the LiveView dynamically. The color of the circle changes by periodically pushing a random color to the client.\n\n![](./images/animation.gif)\n\nMore examples might be added in the future.\n\n## How the project was created:\n\n```sh\nmix phx.new phoenix_liveview_d3js --no-mailer --no-dashboard --no-ecto --live --module D3Demo\n\ncd phoenix_liveview_d3js/assets\n\nnpm install d3 --save\n```\n\nTo start your Phoenix server:\n\n  * Install dependencies with `mix deps.get`\n  * Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\nReady to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).\n\n## Learn more\n\n  * Official website: https://www.phoenixframework.org/\n  * Guides: https://hexdocs.pm/phoenix/overview.html\n  * Docs: https://hexdocs.pm/phoenix\n  * Forum: https://elixirforum.com/c/phoenix-forum\n  * Source: https://github.com/phoenixframework/phoenix\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaikroempagel%2Fphoenix_liveview_d3js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaikroempagel%2Fphoenix_liveview_d3js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaikroempagel%2Fphoenix_liveview_d3js/lists"}