Published
Edited
May 15, 2018
4 stars
Insert cell
Insert cell
rating = {
stylesheet;
let element = html`<div class="ui star rating" data-rating="3"></div>`
$(element).rating()
return element;
}
Insert cell
Insert cell
$ = require('jquery').then(jQuery => {
window.jQuery = jQuery;
return require('semantic-ui/dist/semantic.min.js').catch(() => jQuery);
})
Insert cell
Insert cell
stylesheet = html`<link rel=stylesheet href='https://unpkg.com/semantic-ui@2.3.1/dist/semantic.min.css' />`
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more