# Embedded width

**URL:** <https://talk.observablehq.com/t/embedded-width/1063>\
**Category:** Help\
**Created:** [August 8, 2018, 1:02am UTC](https://talk.observablehq.com/t/embedded-width/1063 "2018-08-08T01:02:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mbostock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mbostock/32/9_2.png) [@mbostock](https://talk.observablehq.com/u/mbostock)\
**Post date:** [August 10, 2018, 1:42am UTC](https://talk.observablehq.com/t/embedded-width/1063/4 "2018-08-10T01:42:14Z")

</div>

Here you go:

> <https://gist.github.com/mbostock/e037a86ce69eb19f629eaebf70ebcd2e>

The main “trick” is to define a custom library rather than using the stdlib. Here I extended the standard library to override the definition of _width_. (See [live version](https://bl.ocks.org/mbostock/raw/e037a86ce69eb19f629eaebf70ebcd2e/).)

---

_[View the full topic](https://talk.observablehq.com/t/embedded-width/1063)._
