{"id":14035901,"url":"https://github.com/spencermountain/somehow-graph","last_synced_at":"2025-06-15T03:03:12.714Z","repository":{"id":138392745,"uuid":"140871381","full_name":"spencermountain/somehow-graph","owner":"spencermountain","description":"Svelte infographics component","archived":false,"fork":false,"pushed_at":"2020-09-07T17:00:17.000Z","size":1911,"stargazers_count":27,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-05-26T06:11:13.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://spencermounta.in/somehow-graph/","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/spencermountain.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":"2018-07-13T16:46:48.000Z","updated_at":"2021-12-03T11:42:28.000Z","dependencies_parsed_at":"2023-04-30T11:00:20.782Z","dependency_job_id":null,"html_url":"https://github.com/spencermountain/somehow-graph","commit_stats":null,"previous_names":["spencermountain/said-path"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spencermountain/somehow-graph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencermountain%2Fsomehow-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencermountain%2Fsomehow-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencermountain%2Fsomehow-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencermountain%2Fsomehow-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spencermountain","download_url":"https://codeload.github.com/spencermountain/somehow-graph/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencermountain%2Fsomehow-graph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259914867,"owners_count":22931323,"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-12T03:01:45.682Z","updated_at":"2025-06-15T03:03:12.670Z","avatar_url":"https://github.com/spencermountain.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cdiv\u003e\u003cb\u003esomehow-graph\u003c/b\u003e\u003c/div\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/399657/68222691-6597f180-ffb9-11e9-8a32-a7f38aa8bded.png\"/\u003e\n  \u003cdiv\u003e— part of \u003ca href=\"https://github.com/spencermountain/somehow\"\u003esomehow\u003c/a\u003e —\u003c/div\u003e\n  \u003cdiv\u003eWIP svelte infographics\u003c/div\u003e\n  \u003cdiv align=\"center\"\u003e\n    \u003csub\u003e\n      by\n      \u003ca href=\"https://spencermounta.in/\"\u003eSpencer Kelly\u003c/a\u003e \n    \u003c/sub\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\u003cdiv align=\"right\"\u003e\n  \u003ca href=\"https://npmjs.org/package/somehow-graph\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/somehow-graph.svg?style=flat-square\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cimg height=\"25px\" src=\"https://user-images.githubusercontent.com/399657/68221862-17ceb980-ffb8-11e9-87d4-7b30b6488f16.png\"/\u003e\n\nWork in progress!\n\n**somehow-graph** creates SVG, using your data, that you can throw-into your webpage.\n\n```html\n\u003cscript\u003e\n  import spacetime from 'spacetime'\n  import { Graph, XAxis, YAxis, Bar } from './src'\n  let start = spacetime('2019').startOf('year')\n  let end = start.endOf('year')\n\u003c/script\u003e\n\n\u003cGraph height={2800} aspect={'golden'}\u003e\n  \u003cYAxis every=\"hundred\" /\u003e\n  \u003cXAxis /\u003e\n  \u003cBar /\u003e\n\u003c/Graph\u003e\n```\n\nMIT\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencermountain%2Fsomehow-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspencermountain%2Fsomehow-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencermountain%2Fsomehow-graph/lists"}