<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[D3.js Angular Gallery - Medium]]></title>
        <description><![CDATA[The Angular D3 graph gallery displays some of charts made with Angular and D3.js, always providing the reproducible code. - Medium]]></description>
        <link>https://medium.com/d3-js-angular-gallery?source=rss----d7bc5ca21b43---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>D3.js Angular Gallery - Medium</title>
            <link>https://medium.com/d3-js-angular-gallery?source=rss----d7bc5ca21b43---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:30:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/d3-js-angular-gallery" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Density 2D Chart Angular & D3.js]]></title>
            <link>https://medium.com/d3-js-angular-gallery/density-2d-chart-angular-d3-js-66f5fc63162b?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/66f5fc63162b</guid>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[density-2d]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[d3js]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 13:04:58 GMT</pubDate>
            <atom:updated>2021-02-14T13:04:58.352Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*vhmb1_bAHLW4BDRgnGyH_A.jpeg" /><figcaption>Density 2D Chart</figcaption></figure><p>This post describes how to build a 2d density chart using angular &amp; d3.js. we’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/density-graph">website</a> or in <a href="https://stackblitz.com/edit/angular-d3-js-density-2d-chart">stackblitz</a>.</p><p>A 2d density chart displays the relationship between 2 numeric variables. One is represented on the X axis, the other on the Y axis, like for a scatterplot. Then, the number of observations within a particular area of the 2D space is counted and represented by a color gradient.</p><p>The 2d density chart is made thanks to the <a href="https://github.com/d3/d3-contour">d3-contour</a> plugin.</p><p>The input dataset has 2 numeric variables: x and y. A 2d density plot basically represents the amount of data point on each part of the grid.</p><h4>Component inputs :</h4><ul><li><strong>data: </strong>It is an array of objects (dataset), each object contains 2 numeric variables: x and y</li><li><strong>colorsInput: </strong>It is an array of 2 hex color codes.</li></ul><p><a href="https://stackblitz.com/edit/angular-d3-js-density-2d-chart">https://stackblitz.com/edit/angular-d3-js-density-2d-chart</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66f5fc63162b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/density-2d-chart-angular-d3-js-66f5fc63162b">Density 2D Chart Angular &amp; D3.js</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Donut Chart Angular & D3.js]]></title>
            <link>https://medium.com/d3-js-angular-gallery/donut-chart-angular-d3-js-29e5d7a12688?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/29e5d7a12688</guid>
            <category><![CDATA[d3js]]></category>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[donut-chart]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[donuts]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 12:58:59 GMT</pubDate>
            <atom:updated>2021-02-14T12:58:59.231Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*KV9YLseBvKFyXJXfIsPlvA.jpeg" /></figure><p>This post describes how to build a dounut chart using angular &amp; d3.js. we’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/donut-graph">website </a>or in <a href="https://stackblitz.com/edit/angular-d3-js-donut-chart">stackblitz</a>.</p><p>Doughnut charts are probably the most commonly used charts. They are divided into segments, the arc of each segment shows the proportional value of each piece of data.</p><p>Input dataset provides the group names, their corresponding numeric value, and Color.</p><p><strong>Note</strong> that each year contains 10 values, in the data file you will find, for example, 2010, 2010.1, 2010.2…, the reason is to make the animation looks good. Also, you can customize the code as you want.</p><h4>Component inputs :</h4><p><strong>data: </strong>It is an array of objects (dataset), each object contains the name, value, and color of each piece of chart <em>(</em><strong><em> name: string; value: string; color?: string </em></strong><em>)</em></p><p><a href="https://stackblitz.com/edit/angular-d3-js-donut-chart">https://stackblitz.com/edit/angular-d3-js-donut-chart</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29e5d7a12688" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/donut-chart-angular-d3-js-29e5d7a12688">Donut Chart Angular &amp; D3.js</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Diverging Bar chart D3.js & Angular]]></title>
            <link>https://medium.com/d3-js-angular-gallery/diverging-bar-chart-d3-js-angular-197e69a1fe61?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/197e69a1fe61</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[d3js]]></category>
            <category><![CDATA[bar-chart]]></category>
            <category><![CDATA[diverging-bar]]></category>
            <category><![CDATA[charts]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 12:54:45 GMT</pubDate>
            <atom:updated>2021-02-14T12:54:44.846Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*QDOUpGkiTW_hoLCwUkAI8A.jpeg" /></figure><p>This post describes how to build a gauge chart using angular &amp; d3. we’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/diverging-bar-graph">website </a>or in <a href="https://stackblitz.com/edit/angular-d3-js-bar-diverging-bar">stackblitz</a>.</p><p>A diverging bar chart is a bar chart that has the marks for some dimension members pointing up or right, and the marks for other dimension members pointing in the opposite direction (down or left, respectively).</p><p>Input dataset provides the name, their corresponding numeric value, position, and Color(optional to customize bars colors).</p><h4>Component inputs :</h4><ul><li><strong>data: </strong>It is an array of objects (dataset), each object contains the name, their corresponding numeric value, position, and Color(optional to customize bars colors)<em>(</em><strong><em> name: string; value: string; position: number; color?: string </em></strong><em>)</em></li><li><strong>legendTitle: </strong>It is the title of the chart</li><li><strong>legendSubtitle: </strong>It is the subtitle of the chart</li></ul><p><a href="https://stackblitz.com/edit/angular-d3-js-bar-diverging-bar">https://stackblitz.com/edit/angular-d3-js-bar-diverging-bar</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=197e69a1fe61" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/diverging-bar-chart-d3-js-angular-197e69a1fe61">Diverging Bar chart D3.js &amp; Angular</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Barplot Angular & D3.js]]></title>
            <link>https://medium.com/d3-js-angular-gallery/barplot-angular-d3-js-f76f001a8e3?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/f76f001a8e3</guid>
            <category><![CDATA[bar-chart]]></category>
            <category><![CDATA[bar-plot]]></category>
            <category><![CDATA[d3js]]></category>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 12:45:45 GMT</pubDate>
            <atom:updated>2021-02-14T12:45:44.364Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*2BPongGsOUwBPfON_KlNMA.jpeg" /><figcaption>Barplot Angular &amp; D3.js</figcaption></figure><p>This post describes how to build a barplot chart using angular &amp; d3.js.. we’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/bar-graph">website</a> or in <a href="https://stackblitz.com/edit/angular-d3-js-bar-chart">stackblitz</a>.</p><p>Bar charts are a type of graph that is used to display and compare the number, frequency, or other measures (e.g. mean) for different discrete categories of data.</p><p>Input dataset provides the group names, their corresponding numeric value, and Color(optional to customize bars colors).</p><p>The max value of the y-axis is calculated automatically.</p><h4>Component inputs :</h4><p><strong>barData: </strong>It is an array of objects (dataset), each object contains the name, value, and color (optional) of each piece of the chart <em>(</em><strong><em> name: string; value: string; color?: string </em></strong><em>)</em></p><p><a href="https://stackblitz.com/edit/angular-d3-js-bar-chart">https://stackblitz.com/edit/angular-d3-js-bar-chart</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f76f001a8e3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/barplot-angular-d3-js-f76f001a8e3">Barplot Angular &amp; D3.js</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scatter Plot Angular & D3.js]]></title>
            <link>https://medium.com/d3-js-angular-gallery/scatter-plot-angular-d3-js-f42ff0ac8668?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/f42ff0ac8668</guid>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[scatter-plots]]></category>
            <category><![CDATA[d3js]]></category>
            <category><![CDATA[scatter]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 12:40:59 GMT</pubDate>
            <atom:updated>2021-02-14T12:40:59.005Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*Vo6XgWinLlqiLdgWSzaKyA.jpeg" /><figcaption>Scatter Plot Angular &amp; D3.js</figcaption></figure><p>This post describes how to build a grouped scatter plot chart using angular &amp; d3.js. we’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/scatter-bar-graph">website</a> or in <a href="https://stackblitz.com/edit/angular-d3-js-scatter-chart">stackblitz</a>.</p><p>A Scatter Chart (also called a scatter plot, scatter graph, or scatter diagram) is a type of plot or mathematical diagram using Cartesian coordinates to display values for typically two variables for a set of data.</p><p>The scatterplot is one of the easiest charts to make with d3.js, and thus a good starting point if you’re discovering this tool.</p><p>Grouped scatter is a common practice in scatterplots. It allows to investigate how groups behave for the 2 numeric variables.</p><p>Input dataset provides the Sepal_Length, Sepal_Width, Petal_Length, Petal_Width, and Species</p><h4>Component inputs :</h4><ul><li><strong>data: </strong>It is an array of object contained the Sepal_Length, Sepal_Width, Petal_Length, Petal_Width, and Species</li><li><strong>groupeLabales: </strong>It is an array of objects contained the name of xlabales, color.</li></ul><p><a href="https://stackblitz.com/edit/angular-d3-js-scatter-chart">https://stackblitz.com/edit/angular-d3-js-scatter-chart</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f42ff0ac8668" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/scatter-plot-angular-d3-js-f42ff0ac8668">Scatter Plot Angular &amp; D3.js</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gauge Chart D3.js &Angular]]></title>
            <link>https://medium.com/d3-js-angular-gallery/gauge-chart-d3-js-angular-f1e9fdc430c8?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/f1e9fdc430c8</guid>
            <category><![CDATA[gauge]]></category>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[d3js]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 12:33:56 GMT</pubDate>
            <atom:updated>2021-02-14T12:33:56.670Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*ecdJDSvnDu-sakfowynknw.jpeg" /></figure><p>This post describes how to build a gauge chart using angular &amp; d3.js. we’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/gauge-graph">website </a>or in <a href="https://stackblitz.com/edit/angular-d3-js-pie-chart">stackblitz</a></p><p>A gauge chart (or speedometer chart) combines a Doughnut chart and a Pie chart in a single chart.</p><p>Input dataset provides the value, minValue and maxValue</p><h4>Component inputs :</h4><ul><li><strong>gaugeValue: </strong>It is an object contained the value, minValue, maxValue, and some optional values: pointerWidth (it is the width of the middle pointer), ringWidth (its the width of the ring), and transitionsMs (this is the value of the pointer transition when it passes in the value)</li></ul><p><a href="https://stackblitz.com/edit/angular-d3-js-pie-chart">https://stackblitz.com/edit/angular-d3-js-pie-chart</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1e9fdc430c8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/gauge-chart-d3-js-angular-f1e9fdc430c8">Gauge Chart D3.js &amp;Angular</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Line Chart D3.js &Angular]]></title>
            <link>https://medium.com/d3-js-angular-gallery/line-chart-d3-js-angular-7db872dce73b?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/7db872dce73b</guid>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[d3js]]></category>
            <category><![CDATA[line]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 10:36:18 GMT</pubDate>
            <atom:updated>2021-02-14T10:40:00.484Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*vQwuqZ4VhSWD8KX8jUG6Fw.jpeg" /><figcaption>Line Chart D3.js &amp;Angular</figcaption></figure><p>This post describes how to build a pie line with annotation and percentage using angular &amp; d3.js. we’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/line-graph">website</a> or in <a href="https://stackblitz.com/edit/angular-d3-js-line-chart">stackblitz</a>.</p><p>A line chart is a way of plotting data points on a line. Often, it is used to show trend data or the comparison of two data sets.</p><p>The line is drawn using a path and using the d3.line utility.</p><p>The Min &amp; Max domain range is calculated automatically.</p><p>Input dataset provides the label, data, color, and legend.</p><h4>Component inputs :</h4><ul><li><strong>data: </strong>It is an array of the object contained the label, data(array of numbers or values), color, and legend</li><li><strong>xLabels: </strong>It is an array of strings, the values that will be apart in the x like years…</li><li><strong>showDots: </strong>It is a boolean value(true or false)by default it’s disabled(false), by enabling it you will convert the line chart to <a href="https://www.data-to-viz.com/graph/connectedscatter.html">Connected Scatter Plot</a>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*UtogFj2jp-Jt4LvO.jpg" /><figcaption>showDots = false</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*UJK7N_2tmpxYG1LU.jpg" /><figcaption>showDots = true</figcaption></figure><ul><li><strong>dateFormat: </strong>dateFormat is a string value to specify the format of year.</li></ul><p><a href="https://stackblitz.com/edit/angular-d3-js-line-chart">https://stackblitz.com/edit/angular-d3-js-pie-chart</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7db872dce73b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/line-chart-d3-js-angular-7db872dce73b">Line Chart D3.js &amp;Angular</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pie chart D3.js Angular — Pie chart with annotation & percentage]]></title>
            <link>https://medium.com/d3-js-angular-gallery/pie-chart-d3-js-angular-pie-chart-with-annotation-percentage-d8b53ee44bef?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/d8b53ee44bef</guid>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[d3js]]></category>
            <category><![CDATA[pie]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 10:22:06 GMT</pubDate>
            <atom:updated>2021-02-14T10:22:06.290Z</atom:updated>
            <content:encoded><![CDATA[<h3>Pie chart D3.js Angular — Pie chart with annotation &amp; percentage</h3><p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*qGZ5ff1YDlFnWc51" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*Og4TVB7t-bCc_9iN.jpeg" /></figure><p>Pie chart</p><p>This post describes how to build a pie chart with annotation and percentage using angular &amp; d3.js. we’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/pie-graph">website</a> or in <a href="https://stackblitz.com/edit/angular-d3-js-pie-chart">stackblitz</a></p><p>Warning: are you sure you want to use a pie chart? Learn why <a href="https://www.data-to-viz.com/caveat/pie.html">it is not recommended</a>.</p><ul><li>Input dataset provides the group names, their corresponding numeric value, and Color(optional to customize pie colors).</li><li>The first step is to use the pie() function. It takes this input and returns the coordinates of each part of the pie.</li><li>Pie component inputs :</li><li><strong>pieData: </strong>It is an array of objects (dataset), each object contains the name, value, and color (optional) of each piece of the chart <em>(</em><strong><em> name: string; value: string; color?: string </em></strong><em>)</em></li><li><strong>textColor: </strong>It is the color of the texts</li><li><strong>isPercentage :</strong> It is a boolean value, making it true it automatically adds a percentage to the labels</li><li><strong>enablePolylines</strong>: It is a boolean value, this option to solve problems of displaying labels for small values</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*3DhvYynrRKD1mYz_" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*R8xOXB1UTRQKQGbg.jpg" /></figure><p>enablePolylines = false</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/0*MRccYtT24MpT6U2n" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*QOJ8OKp1WhjBS9eL.jpg" /></figure><p>enablePolylines = true</p><p><a href="https://stackblitz.com/edit/angular-d3-js-pie-chart">https://stackblitz.com/edit/angular-d3-js-pie-chart</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8b53ee44bef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/pie-chart-d3-js-angular-pie-chart-with-annotation-percentage-d8b53ee44bef">Pie chart D3.js Angular — Pie chart with annotation &amp; percentage</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Violin Chart D3.js &Angular]]></title>
            <link>https://medium.com/d3-js-angular-gallery/violin-chart-d3-js-angular-842255a4ee6?source=rss----d7bc5ca21b43---4</link>
            <guid isPermaLink="false">https://medium.com/p/842255a4ee6</guid>
            <category><![CDATA[charts]]></category>
            <category><![CDATA[d3js]]></category>
            <category><![CDATA[violin]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Laakissi Achraf]]></dc:creator>
            <pubDate>Sun, 14 Feb 2021 10:16:12 GMT</pubDate>
            <atom:updated>2021-02-14T10:16:12.865Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome to the<a href="https://d3-angular-gallery.com/"> D3.js Angular graph gallery</a>: a collection of simple charts made with d3.js &amp; angular created by <a href="https://d3-angular-gallery.com/achraf-laakissi">LAAKISSI Achraf</a>. D3.js is a JavaScript library for manipulating documents based on data. <a href="https://d3-angular-gallery.com/">This gallery</a> of a few graphics, always providing reproducible and editable source code. If you are new to creating graphics with Angular &amp; D3.js, this is probably the place to start.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*LMvsGK1lvgOd3cJ-g6RH8w.jpeg" /><figcaption>Violin Chart D3.js &amp;Angular</figcaption></figure><p>This post describes how to build a violin chart using angular &amp; d3.js.A violin plot is an alternative to the more usual boxplot, especially interesting with a large dataset where boxplot could hide a part of the information. Here is a simple implementation in d3.js &amp; angular using the d3.histogram() function, keeping only the core code to understand the fundamental concept.</p><p>We’ve built a component you just need to add to your project, passing the input data, specifying other options and you get your chart easily. you can find the code on our <a href="https://d3-angular-gallery.com/violin-graph">website </a>or in <a href="https://stackblitz.com/edit/angular-violin-chart-d3-js">stackblitz</a>.</p><p>A Violin Plot is used to visualize the distribution of the data and its probability density. It is similar to a box plot, with the addition of a rotated kernel density plot on each side. <a href="https://en.wikipedia.org/wiki/Violin_plot">Learn more</a>.</p><p>Note that 2 approaches exist to build them in d3.js, the first computing a kernel density estimate, the second building a high-resolution histogram.</p><p>It is essential to understand that this violin plot is made using the d3.histogram() function, not using a kernel density estimate.</p><p>It takes the values of a group and split them into several bins. The number of values observed in each bin is represented, and a curve is used for smoothing.</p><p>The size of each bin is controlled by the thresholds argument of the d3.histogram() function. It is advised to try different bin size.</p><p>Here, the highest number of item per bin is computed. This value will as wide as 100% of the bandwidth. So you just have to play with the padding argument of the x axis to control space between violin.</p><p>Note: With this method, a group with less values than another will have a smaller width.</p><p>Input dataset provides the Sepal_Length, Sepal_Width, Petal_Length, Petal_Width and Species</p><h4>Component inputs :</h4><ul><li><strong>data: </strong>It is an array of object contained the Sepal_Length, Sepal_Width, Petal_Length, Petal_Width and Species</li><li><strong>groupeLabales: </strong>It is an array of object contained the name of xlabales, color.</li></ul><p><a href="https://stackblitz.com/edit/angular-violin-chart-d3-js">https://stackblitz.com/edit/angular-violin-chart-d3-js</a></p><p><a href="https://www.d3-graph-gallery.com/graph/pie_basic.html">Click here</a> to check out some other awesome charts. Any feedback is highly encouraged. You can fill an issue on Github, drop me a message on <a href="https://twitter.com/LaakissiA">Twitter</a> / <a href="https://www.linkedin.com/in/laakissi-achraf/">Linkedin</a>, or send an <a href="/service/mailto:laakissi.achraf@gmail.com">email</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=842255a4ee6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/d3-js-angular-gallery/violin-chart-d3-js-angular-842255a4ee6">Violin Chart D3.js &amp;Angular</a> was originally published in <a href="https://medium.com/d3-js-angular-gallery">D3.js Angular Gallery</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>