Read More of Our Work
For a short list of our most recent works, see below:
renderItem2 = (item) => {
const divWidth = width;
const imageWidth = width * 2/3;
const rightWidth = divWidth - imageWidth
const div = d3.select(html`<div></div>`)
.style("display", "inline-flex")
.style("width", "100%")
.style("max-height", `${(imageWidth / 50) * 50}px`)
.style("padding", "5px")
.style("box-shadow", "0px 1px 4px rgb(0,0,0,.2)")
.on("mouseenter", function() {
d3.select(this).style("box-shadow", "0px 1px 4px rgb(0,0,0,.8)")
})
.on("mouseleave", function() {
d3.select(this).style("box-shadow", "0px 1px 4px rgb(0,0,0,.2)")
})
.on("click", () => { window.open(item.link.content); return false; })
const right = div.append("div")
.style("padding", "5px")
.style("max-height", `${(imageWidth / 50) * 50}px`)
.style("overflow-y", "auto")
.style("width", "100%")
right.append("h4").text(item.title[0].content)
.style("font-size", "12px")
right.append("p").text(item.pubDate.content)
.style("font", "10px sans-serif")
right.append("p").text(flattenThings(item.creator))
.style("font", "10px sans-serif")
right.append("p").text(item.source.content)
.style("font", "10px sans-serif")
return div.node()
}Please check out this link for a more expansive list.