{"id":13566554,"url":"https://github.com/spaced/scala-js-d3","last_synced_at":"2025-04-04T00:31:00.559Z","repository":{"id":57740736,"uuid":"20537028","full_name":"spaced/scala-js-d3","owner":"spaced","description":"d3 facade types for Scala.js","archived":true,"fork":false,"pushed_at":"2022-04-17T16:28:14.000Z","size":154,"stargazers_count":104,"open_issues_count":5,"forks_count":28,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-04T20:42:39.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spaced.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}},"created_at":"2014-06-05T18:47:54.000Z","updated_at":"2023-01-28T01:32:41.000Z","dependencies_parsed_at":"2022-08-25T19:20:52.392Z","dependency_job_id":null,"html_url":"https://github.com/spaced/scala-js-d3","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaced%2Fscala-js-d3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaced%2Fscala-js-d3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaced%2Fscala-js-d3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spaced%2Fscala-js-d3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spaced","download_url":"https://codeload.github.com/spaced/scala-js-d3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103306,"owners_count":20884023,"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","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-08-01T13:02:11.924Z","updated_at":"2025-04-04T00:31:00.024Z","avatar_url":"https://github.com/spaced.png","language":"Scala","funding_links":[],"categories":["Scala"],"sub_categories":[],"readme":"# DEPRECATED\nThis repository is no longer actively maintained.\nUse ScalaJS facade types for D3 version 5 \n[fdietze/scala-js-d3v4](https://github.com/fdietze/scala-js-d3v4)\n\n\nscala-js-d3\n===============\n[![Scala.js](http://scala-js.org/assets/badges/scalajs-0.6.5.svg)](http://scala-js.org)\n[![Scala.js](http://scala-js.org/assets/badges/scalajs-0.6.13.svg)](http://scala-js.org)\n\nStatic types for the d3 API for [Scala.js](http://www.scala-js.org/) programs.\n\n![](https://github.com/spaced/scala-js-d3/blob/master/site/d3demo.png)\n\nUsage\n-----\nAdd the following to your sbt build definition:\n\n    libraryDependencies += \"org.singlespaced\" %%% \"scalajs-d3\" % \"0.3.4\"\n\nEnjoy the types available in `org.singlespaced.d3js`:\n```\npackage example\n\nimport scala.scalajs.js\nimport org.scalajs.dom\nimport org.singlespaced.d3js.d3\nimport org.singlespaced.d3js.Ops._\n\nobject ScalaJSExample extends js.JSApp {\n\n  def main() {\n    val sel=d3.selectAll(\"div\").data(js.Array(5,2,4,6))\n    sel.style(\"width\", (d:Int) =\u003e d*2 )\n  }\n\n```\n\nmore about [d3js.org](http://d3js.org)\n\nSee also example project [scala-js-d3-example-app](https://github.com/spaced/scala-js-d3-example-app)\n- [Bar graph](https://github.com/spaced/scala-js-d3-example-app/blob/master/src/main/scala/example/ScalaJSExample.scala)\n- [Histogram](https://github.com/spaced/scala-js-d3-example-app/blob/histogram/src/main/scala/example/ScalaJSExample.scala)\n- [Table](https://github.com/spaced/scala-js-d3-example-app/blob/table_data_example/src/main/scala/example/ScalaJSExample.scala)\n\n\nVersions\n--------\n- [Release notes](https://github.com/spaced/scala-js-d3/releases)\n- scalajs-d3 0.3.4 is for Scala.js 0.6.13+, with Scala 2.10, 2.11 and 2.12\n- scalajs-d3 0.3.3 is for Scala.js 0.6.6+, with both Scala 2.10 and 2.11.\n- scalajs-d3 0.2.0 is for Scala.js 0.6.5, with both Scala 2.10 and 2.11.\n\n\n\nLicense\n-------\n\nCopyright (c) 2002-2015\n\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n*   Redistributions of source code must retain the above copyright notice,\n    this list of conditions and the following disclaimer.\n*   Redistributions in binary form must reproduce the above copyright notice,\n    this list of conditions and the following disclaimer in the documentation\n    and/or other materials provided with the distribution.\n*   Neither the name of the singlespaced.org nor the names of its contributors\n    may be used to endorse or promote products derived from this software\n    without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\nCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspaced%2Fscala-js-d3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspaced%2Fscala-js-d3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspaced%2Fscala-js-d3/lists"}