Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spencermountain/somehow-circle

an easy way to make radial infographics
https://github.com/spencermountain/somehow-circle

Last synced: 21 days ago
JSON representation

an easy way to make radial infographics

Awesome Lists containing this project

README

        


somehow-circle


— part of somehow

WIP svelte infographics



by
Spencer Kelly








**work in progress**

a **svelte** component to draw circular infographics.

`npm i somehow-circle`

```html

import { Round, Arc, Circle, Line, Label } from 'somehow-circle'





```

![image](https://user-images.githubusercontent.com/399657/92408329-2bccd580-f10b-11ea-80f2-774d41cb5daf.png)

a Svelte component that has two automatically-resizing scales - a round one, and a radial one.
This lets you easily plot data into a pie-chart-like form, and automatically fit the scales to the data, and responsively fit the graph to the page.

the svg will resize responsively to fit your container.

work-in-progress!

### See also

- [somehow-input](https://github.com/spencermountain/somehow-input)
- [somehow-ticks](https://github.com/spencermountain/somehow-ticks)
- [somehow-calendar](https://github.com/spencermountain/somehow-calendar)
- [somehow-maps](https://github.com/spencermountain/somehow-maps)

MIT