{"id":13734964,"url":"https://github.com/dreamRs/tuichartr","last_synced_at":"2025-05-08T11:31:46.822Z","repository":{"id":95092702,"uuid":"186442070","full_name":"dreamRs/tuichartr","owner":"dreamRs","description":":bar_chart: R htmlwidget for tui-chart","archived":true,"fork":false,"pushed_at":"2020-08-07T11:03:24.000Z","size":776,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-28T23:09:16.420Z","etag":null,"topics":["data-visualization","htmlwidgets","r"],"latest_commit_sha":null,"homepage":"https://dreamrs.github.io/tuichartr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreamRs.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}},"created_at":"2019-05-13T15:00:52.000Z","updated_at":"2023-08-07T01:25:43.000Z","dependencies_parsed_at":"2023-03-20T10:34:31.864Z","dependency_job_id":null,"html_url":"https://github.com/dreamRs/tuichartr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Ftuichartr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Ftuichartr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Ftuichartr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamRs%2Ftuichartr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamRs","download_url":"https://codeload.github.com/dreamRs/tuichartr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224727173,"owners_count":17359532,"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":["data-visualization","htmlwidgets","r"],"created_at":"2024-08-03T03:01:01.636Z","updated_at":"2024-11-15T03:31:19.763Z","avatar_url":"https://github.com/dreamRs.png","language":"R","funding_links":[],"categories":["Visualization"],"sub_categories":["General-Purpose"],"readme":"# tuichartr\n\n\u003e Htmlwidget to create interactive visualisations with JavaScript library [tui-chart](https://github.com/nhn/tui.chart)\n\n[![Travis build status](https://travis-ci.org/dreamRs/tuichartr.svg?branch=master)](https://travis-ci.org/dreamRs/tuichartr)\n[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)\n\n\n\n## Installation\n\nYou can install from GitHub with:\n\n``` r\nremotes::install_github(\"dreamRs/tuichartr\")\n```\n\n## Charts\n\nYou can create various type of chart : bar, column, line, area, boxplot, scatter, heatmap, treemap, radar, pie.\n\n``` r\nlibrary(gapminder)\nlibrary(tuichartr)\n\n# Datas\nn_countries \u003c- gapminder %\u003e% \n  filter(year == 2007) %\u003e% \n  count(continent, sort = TRUE)\n\n# Chart\ntuichart(\"bar\") %\u003e% \n  add_data(n_countries, aes(x = continent, y = n)) %\u003e% \n  tui_chart(title = \"Countries by continent in 2007\") %\u003e% \n  tui_xAxis(title = \"Number of countries\") %\u003e% \n  tui_legend(visible = FALSE) %\u003e% \n  tui_series(showLabel = TRUE)\n```\n\n![](man/figures/tuichart-example.png)\n\n\n## Maps\n\nYou can also make maps :\n\n```r\n# Retrieve Italy polygons\nuk \u003c- ne_states(\"united kingdom\", returnclass = \"sf\")\n# add a random numeric variable\nuk$random \u003c- sample(1:100, nrow(uk), TRUE)\n\n# draw map\ntuimap() %\u003e% \n  add_map_data(uk, aes(code = adm1_code, label = name, value = random)) %\u003e% \n  tui_chart(title = \"UK map\")\n```\n\n![](man/figures/tuimap-example.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FdreamRs%2Ftuichartr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FdreamRs%2Ftuichartr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FdreamRs%2Ftuichartr/lists"}