https://github.com/spencermountain/somehow
a number of Svelte infographics
https://github.com/spencermountain/somehow
infographics svelte
Last synced: 7 months ago
JSON representation
a number of Svelte infographics
- Host: GitHub
- URL: https://github.com/spencermountain/somehow
- Owner: spencermountain
- Created: 2020-09-07T15:32:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-18T18:18:55.000Z (about 5 years ago)
- Last Synced: 2025-03-25T15:13:55.460Z (7 months ago)
- Topics: infographics, svelte
- Homepage: http://thensome.how/
- Size: 13.7 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
a collection of Svelte components that generate infographics, in a similar style.
These were built for creating graphics on [thensome.how](http://thensome.how/), but may be useful to others, perhaps just for copy+pasting.
**Responsive:**
* automatically set scales from data (when possible)
* full-width of parent
* vertically + horizontally centered
**Shared look**
* HTML over SVG, whenever possible
* re-used [color-schemes](https://spencermounta.in/spencer-color/) *from spencer-color*
**Same setup**
* broken into declarative Components, whenever possible
* d3 sometimes (whenever possible)
* shared rollup/npm config

### somehow-calendar
[repo](https://github.com/spencermountain/somehow-calendar)
```html
import { Month, Day } from './src'
```
### somehow-keyboard
[repo](https://github.com/spencermountain/somehow-barchart)
```html
import { Keyboard, Key } from './src'
```
## somehow-timeline
[repo](https://github.com/spencermountain/somehow-timeline)
```html
import { Timeline, Column, Line } from 'somehow-timeline'
```
### somehow-barchart
[repo](https://github.com/spencermountain/somehow-barchart)
```html
import { Horizontal, Bar } from 'somehow-barchart'
```

### somehow-year
[repo](https://github.com/spencermountain/somehow-year)
```html
import { Year, Day } from './src'
```
### somehow-circle
[repo](https://github.com/spencermountain/somehow-circle)
```html
import { Round, Arc, Circle, Line, Label } from 'somehow-circle'
```

### somehow-maps
[repo](https://github.com/spencermountain/somehow-maps)
```js
import { Globe, Line, Graticule, Dot, Latitude } from 'somehow-map'
```

### somehow-grid
[repo](https://github.com/spencermountain/somehow-grid)
```html
import { Grid, Part } from 'somehow-grid'
```

### somehow-input
[repo](https://github.com/spencermountain/somehow-input)
```html
let number = 3
```

### somehow-slider
[repo](https://github.com/spencermountain/somehow-slider)
```html
import { Vertical, Slider, Label } from './src'
```

### somehow-sankey
[repo](https://github.com/spencermountain/somehow-sankey)
```html
import { Sankey, Node } from 'somehow-sankey'
```
MIT