{"id":41262298,"url":"https://github.com/oshikiri/logseq-plugin-embed-vegalite","last_synced_at":"2026-01-23T02:03:14.893Z","repository":{"id":265911564,"uuid":"896379332","full_name":"oshikiri/logseq-plugin-embed-vegalite","owner":"oshikiri","description":"Embed Vega-Lite graphics to Logseq notes","archived":false,"fork":false,"pushed_at":"2025-03-29T13:23:02.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T14:27:13.841Z","etag":null,"topics":["logseq-plugin","vega-lite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oshikiri.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-30T07:46:15.000Z","updated_at":"2025-03-29T13:22:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"53d0363b-62ee-4c91-b83f-88e8b820dd2e","html_url":"https://github.com/oshikiri/logseq-plugin-embed-vegalite","commit_stats":null,"previous_names":["oshikiri/logseq-plugin-embed-vegalite"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/oshikiri/logseq-plugin-embed-vegalite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oshikiri%2Flogseq-plugin-embed-vegalite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oshikiri%2Flogseq-plugin-embed-vegalite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oshikiri%2Flogseq-plugin-embed-vegalite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oshikiri%2Flogseq-plugin-embed-vegalite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oshikiri","download_url":"https://codeload.github.com/oshikiri/logseq-plugin-embed-vegalite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oshikiri%2Flogseq-plugin-embed-vegalite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28677716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"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":["logseq-plugin","vega-lite"],"created_at":"2026-01-23T02:03:14.738Z","updated_at":"2026-01-23T02:03:14.835Z","avatar_url":"https://github.com/oshikiri.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logseq-plugin-embed-vegalite\n\nEmbed [Vega-Lite](https://vega.github.io/vega-lite/docs/) graphics to Logseq notes\n\n## Example\n\n````markdown\n- data\n  - a:: C\n    b:: 7\n  - a:: D\n    b:: 6\n  - a:: E\n    b:: 8\n  - a:: E\n    b:: 4\n- {{renderer :vegalite,myData=(and (page \u003c% current page %\u003e) (property a))}}\n  - ```json\n    {\n      \"data\": { \"name\": \"myData\" },\n      \"transform\": [\n        { \"as\": \"a\", \"calculate\": \"datum.properties.a\" },\n        { \"as\": \"b\", \"calculate\": \"datum.properties.b\" }\n      ],\n      \"mark\": \"point\",\n      \"encoding\": {\n        \"y\": { \"field\": \"a\", \"type\": \"nominal\" },\n        \"x\": { \"field\": \"b\", \"type\": \"quantitative\" }\n      }\n    }\n    ```\n````\n\n![screenshot](./demo.png)\n\nNotes:\n\n- `datum` is basically [BlockEntity](https://logseq.github.io/plugins/interfaces/BlockEntity.html) and it has extended field `ext` (See `db/parse.ts`)\n- You can use [named data sources of Vega-Lite](https://vega.github.io/vega-lite/docs/data.html#named) as the above `myData`\n\nSee [cookbook](./examples/) for more examples.\n\n## License\n\nMIT\n\nhttps://github.com/logseq/logseq-plugin-samples/tree/master/logseq-pomodoro-timer\n\nicon https://www.iconfinder.com/icons/3213271/business_clip_board_data_medical_report_icon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foshikiri%2Flogseq-plugin-embed-vegalite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foshikiri%2Flogseq-plugin-embed-vegalite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foshikiri%2Flogseq-plugin-embed-vegalite/lists"}