Skip to content

Instantly share code, notes, and snippets.

@laem
Last active August 29, 2015 14:15
Show Gist options
  • Save laem/7b03b1d4ebf37e389481 to your computer and use it in GitHub Desktop.
Save laem/7b03b1d4ebf37e389481 to your computer and use it in GitHub Desktop.
//JSX code
<HBar
// data is an array of {v: 18, label: "Joseph"} objects
data={randomData()}
/>
//CSS
<style>
.example1 .HBar .inside {
fill: white
}
.example1 .HBar .right {
fill: white
}
.example1 .HBar .left {
fill: white
}
.example1 rect {
fill: #018670
}
.example1 .HBar .axis {
stroke: #018670;
}
</style>
@laem
Copy link
Author

laem commented Feb 15, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment