{"id":26366,"date":"2015-10-16T15:22:50","date_gmt":"2015-10-16T09:52:50","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=26366"},"modified":"2015-10-16T15:33:20","modified_gmt":"2015-10-16T10:03:20","slug":"adjust-time-scale-representation-on-x-axis","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/","title":{"rendered":"Adjust time scale representation on axis &#8211; D3js"},"content":{"rendered":"<p>In d3.js we use <strong><a href=\"https:\/\/github.com\/mbostock\/d3\/wiki\/Time-Scales\">Time Scale<\/a><\/strong> on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format.<br \/>\n<strong>d3.time.scale()<\/strong> creates a time scale with some domain and range values, the time scale also provides suitable ticks based on time intervals.<\/p>\n<p>The following time intervals are considered for automatic ticks:<\/p>\n<ul>\n<li>1-, 5-, 15- and 30-second.<\/li>\n<li>1-, 5-, 15- and 30-minute.<\/li>\n<li>1-, 3-, 6- and 12-hour.<\/li>\n<li>1- and 2-day.<\/li>\n<li>1-week.<\/li>\n<li>1- and 3-month.<\/li>\n<li>1-year.<\/li>\n<\/ul>\n<p>Usually, we use:<\/p>\n<p>[javascript]<br \/>\nvar x = d3.time.scale()<br \/>\n.domain([dates])<br \/>\n.range([values]);<br \/>\n[\/javascript]<\/p>\n<p>If <em>dates<\/em> is specified, <strong>scale.domain([dates])<\/strong> sets the scale&#8217;s input domain to the specified array of dates. The array must contain two or more dates.<br \/>\nIf <em>values<\/em> is specified, <strong>scale.range([values])<\/strong> sets the scale&#8217;s output range to the specified array of values. The array must contain two or more values.<br \/>\nFor more details refer <a href=\"https:\/\/github.com\/mbostock\/d3\/wiki\/Time-Scales#scale\" target=\"_blank\">Time Scales<\/a>.<\/p>\n<p>Defining your axis:<\/p>\n<p>[java]<br \/>\nvar xAxis = d3.svg.axis().scale(x).orient(&quot;bottom&quot;).ticks(12);<br \/>\n[\/java]<\/p>\n<p>This would give us this default time intervals provided by <strong>d3.time.scale<\/strong>, the ticks will always include prior mentioned automatic ticks.<\/p>\n<p>Recently, I was working on a project which required charts showing Time-based Statistics. We wanted to have 2-days aggregated data, hence my requirement was to have a tick only after 2-days interval. It works well, until there is a change in month. This <a href=\"http:\/\/jsfiddle.net\/2g3et5gn\/11\/\">JSFiddle<\/a> shows the problem. Notice the dates when month changes from March to April.<\/p>\n<p>If you want to avoid auto-generated ticks, then you would need to change the implementation of <strong>d3.time.scale<\/strong>. To do so, all you need is a custom function which will override former&#8217;s existing definition with the following signature:<\/p>\n<p>[java]function customTickFunc (t0, t1, step)<br \/>\n{}<br \/>\n[\/java]<\/p>\n<p>where:<br \/>\n<strong>t0<\/strong> and <strong>t1<\/strong> are start and end of dates on domain.<br \/>\n<strong>step<\/strong> is optional step count.<\/p>\n<p>Here is my function&#8217;s implementation<\/p>\n<p>[java]<br \/>\nfunction customTickFunc (t0, t1, step)<br \/>\n{<br \/>\n    var startTime = new Date(t0),<br \/>\n        endTime= new Date(t1), times = [];<br \/>\n    endTime.setUTCDate(endTime.getUTCDate() + 1);<br \/>\n    while (startTime &lt; endTime) {<br \/>\n      startTime.setUTCDate(startTime.getUTCDate() + 2);<br \/>\n      times.push(new Date(startTime));<br \/>\n    }<br \/>\n    return times;<br \/>\n}<br \/>\n[\/java]<\/p>\n<p>Now when we do<\/p>\n<p>[java]<br \/>\nvar xAxis = d3.svg.axis().scale(x).orient(&quot;bottom&quot;).ticks(customTickFunc);<br \/>\n[\/java]<\/p>\n<p>The above will create the required ticks, overriding default tick behaviour. Here is the <a href=\"http:\/\/jsfiddle.net\/315v9d07\/3\/\">JSFiddle<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":29,"footnotes":""},"categories":[1],"tags":[2588],"class_list":["post-26366","post","type-post","status-publish","format-standard","hentry","category-technology","tag-d3js-time-scale-shows-first-date-of-month"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Neha Gupta\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Adjust time scale representation on axis \u2013 D3js | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Adjust time scale representation on axis \u2013 D3js | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#article\",\"name\":\"Adjust time scale representation on axis \\u2013 D3js | TO THE NEW Blog\",\"headline\":\"Adjust time scale representation on axis &#8211; D3js\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neha\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-10-16T15:22:50+05:30\",\"dateModified\":\"2015-10-16T15:33:20+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#webpage\"},\"articleSection\":\"Technology, d3js time scale shows first date of month\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#listItem\",\"name\":\"Adjust time scale representation on axis &#8211; D3js\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#listItem\",\"position\":3,\"name\":\"Adjust time scale representation on axis &#8211; D3js\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neha\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neha\\\/\",\"name\":\"Neha Gupta\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a14fd5f9979fd5d8e3de87e89b59b2b233ac8e0851b1f5bd242c19c508895c65?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Neha Gupta\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/\",\"name\":\"Adjust time scale representation on axis \\u2013 D3js | TO THE NEW Blog\",\"description\":\"In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/adjust-time-scale-representation-on-x-axis\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neha\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neha\\\/#author\"},\"datePublished\":\"2015-10-16T15:22:50+05:30\",\"dateModified\":\"2015-10-16T15:33:20+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Adjust time scale representation on axis \u2013 D3js | TO THE NEW Blog","description":"In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable","canonical_url":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#article","name":"Adjust time scale representation on axis \u2013 D3js | TO THE NEW Blog","headline":"Adjust time scale representation on axis &#8211; D3js","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/neha\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2015-10-16T15:22:50+05:30","dateModified":"2015-10-16T15:33:20+05:30","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#webpage"},"articleSection":"Technology, d3js time scale shows first date of month"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/www.tothenew.com\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#listItem","name":"Adjust time scale representation on axis &#8211; D3js"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#listItem","position":3,"name":"Adjust time scale representation on axis &#8211; D3js","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/neha\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/neha\/","name":"Neha Gupta","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/a14fd5f9979fd5d8e3de87e89b59b2b233ac8e0851b1f5bd242c19c508895c65?s=96&d=mm&r=g","width":96,"height":96,"caption":"Neha Gupta"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/","name":"Adjust time scale representation on axis \u2013 D3js | TO THE NEW Blog","description":"In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/neha\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/neha\/#author"},"datePublished":"2015-10-16T15:22:50+05:30","dateModified":"2015-10-16T15:33:20+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Adjust time scale representation on axis \u2013 D3js | TO THE NEW Blog","og:description":"In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable","og:url":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Adjust time scale representation on axis \u2013 D3js | TO THE NEW Blog","twitter:description":"In d3.js we use Time Scale on an axis, generally x-axis, to represent time in charts. To simplify manipulation of iteration over time intervals, D3 provides a handful of utilities in addition to time scale and time format. d3.time.scale() creates a time scale with some domain and range values, the time scale also provides suitable","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"26366","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 13:14:45","updated":"2024-02-29 08:44:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAdjust time scale representation on axis \u2013 D3js\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Technology","link":"https:\/\/www.tothenew.com\/blog\/category\/technology\/"},{"label":"Adjust time scale representation on axis &#8211; D3js","link":"https:\/\/www.tothenew.com\/blog\/adjust-time-scale-representation-on-x-axis\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/26366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=26366"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/26366\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=26366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=26366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=26366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}