Skip to content
프로젝트

소개

d3가 ClojureScript로 작성되었다고 가정해 봅시다.

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+1
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

strokes

Now, the world don't move to the beat of just one drum,
What might be right for you, may not be right for some.

strokes is an interop library for using d3.js from clojurescript

D3 is a wonderfully functional library and seems well suited for playing nice with clojurescript, provided the usual data wrangling issues can be made to go away. This is achieved in strokes via JavaScript metaprogramming that provides a language polyfill for the clojure container classes so that they can be accessed natively by D3. This interop functionality is provided by the separate and growing mrhyde library.

This repo also currently includes a number of standalone examples in the examples subdirectory. The venn-simple example is probably the easiest 'hello-world' program to use as template to start hacking your own projects.

Online examples:

Getting Started

To use strokes from your ClojureScript project, add this dependency to your project.clj:

[net.drib/strokes "0.5.1"]

Or to get started in this repo, try venn-simple or any of the other examples. Simply

cd examples/venn-simple
lein cljsbuild auto

Then open public/hello.html to see three circles in your web browser. Then to get hacking, you can then edit the venn-simple source file, save, and refresh your browser to see the changes.

관련 프로젝트 살펴보기

불러오는 중…