-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.Rmd
38 lines (31 loc) · 1.78 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
title: "Hello World!"
output:
distill::distill_article:
toc: FALSE
site: distill::distill_website
css: [style.css]
base_url: https://jeweljohnsonj.github.io/jeweljohnson.github.io/
preview: photos/logo.png
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## Welcome to One Carat Blog
---
# The code below will plot a voronoi plot in the webpage which will extend to your screen as I specified 'l-screen' layout. If you want to have this plot in your webapage then copy this code and paste this where you want it to display. Also in my GitHub repo there is folder called 'voronoi' which contains the .js and .css files for the code. You can tweak the .js file to control how the polygons are arranged and the .css file to chnage the fill colour, node colour etc of the plot.
---
```{r, echo=FALSE, layout="l-screen", fig.height=3}
library(r2d3)
r2d3(d3_version = 5, script = "voronoi/voronoi.js")
```
I have migrated this blog to [here](https://jeweljohnsonj.github.io/one-carat-blog/). For any latest updates or posts please follow that link. Thanks for visiting!
---
# The code below will show the visitor count. If you want to have this in the webpage, then please go to _custom.html file in the repo where I have described the steps to get a visiter counter widget.
---
<center>Visitors<center>
<center>
<div id="sfcxqmebarkplgkzwtm8bz2lp8pnnllbeal"></div>
<script type="text/javascript" src="https://counter7.stat.ovh/private/counter.js?c=xqmebarkplgkzwtm8bz2lp8pnnllbeal&down=async" async></script>
<noscript><a href="https://www.freecounterstat.com" title="website counter code"><img src="https://counter7.stat.ovh/private/freecounterstat.php?c=xqmebarkplgkzwtm8bz2lp8pnnllbeal" border="0" title="website counter code" alt="website counter code"></a></noscript>
</div><center>